diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index f138eb2..398551c 100644 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -1011,6 +1011,15 @@ ))) #+END_SRC +* Remove whitespace when closing delimiters + + In =electric-pair-mode=, skip over and delete white space if it stands + between the cursor and the closing delimiter. + + #+BEGIN_SRC emacs-lisp + (setq electric-pair-skip-whitespace 'chomp) + #+END_SRC + * Programming Emacs is a real programmer's editor, especially so because it's so