diff options
author | Tom Willemse | 2014-10-31 14:52:03 +0100 |
---|---|---|
committer | Tom Willemse | 2014-10-31 14:52:03 +0100 |
commit | ca2ce63ae050f044f17df40d40e9875e3c350f3c (patch) | |
tree | 243a44684fa9950a49c71f79f352b915f2b08b6a | |
parent | f170652c77e73c67bcc5e9ace3ad22e40ed84a03 (diff) | |
download | dotfiles-ca2ce63ae050f044f17df40d40e9875e3c350f3c.tar.gz dotfiles-ca2ce63ae050f044f17df40d40e9875e3c350f3c.zip |
Chomp whitespace when closing delimiters
-rw-r--r-- | emacs/.emacs.d/init.org | 9 |
1 files changed, 9 insertions, 0 deletions
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 |