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