1

In 24.3, I have this in my .emacs, and it works:

(electric-pair-mode 1)

(setq electric-pair-pairs '( (?\" . ?\") (?\{ . ?\}) (?\( . ?\) ) )

Normally I use this in org-mode. All of them worked in 24.3, but only {}, and [] works in 24.4.

The new version is loading the same .emacs.

  • FWIW, if I try emacs24 -Q -f electric-pair-mode ~/tmp/foo.org I can then use (, ", and { to insert the corresponding pairs. This is 24.5, tho. – Stefan Dec 2 '15 at 14:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.