网上抄来的问题不少,看emacswiki,用autopairs即可emacsConfig/autopair-setting.el (require 'autopair) (autopair-global-mode)