diff options
author | John Wiegley <johnw@newartisans.com> | 2016-03-03 23:52:27 -0800 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2016-03-03 23:52:27 -0800 |
commit | 68fa05fd936aeb5ed4d39a48c570b1d4c29e8f9c (patch) | |
tree | d89797f701d48ac631cd7afb6db6fc47163ea9a9 /lisp/emacs-lisp | |
parent | b6b565b4a1d0fedede8dbd325af1d4c63ec5ec58 (diff) | |
parent | e6a381956048113f00ef08340e6f31df93ee0158 (diff) | |
download | emacs-68fa05fd936aeb5ed4d39a48c570b1d4c29e8f9c.tar.gz emacs-68fa05fd936aeb5ed4d39a48c570b1d4c29e8f9c.tar.bz2 emacs-68fa05fd936aeb5ed4d39a48c570b1d4c29e8f9c.zip |
Merge from origin/emacs-25
e6a3819 Update HISTORY section in readme for the NextStep interface.
f67f1ed ; * doc/lispref/modes.texi (Font Lock Basics): Minor rewording.
7c81a0b Improve documentation of 'save-place-mode'
cab3f0a Allocate glyph matrices for the initial frame
e01c72f Fix white space in last checkin
370eb67 Make `insert-pair' always leave the cursor where documented
b594393 etc/NEWS: Mention the new second parameter to `package-install'
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/lisp.el | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/lisp.el b/lisp/emacs-lisp/lisp.el index 3540fd14261..764d01ce6db 100644 --- a/lisp/emacs-lisp/lisp.el +++ b/lisp/emacs-lisp/lisp.el @@ -618,8 +618,11 @@ This command assumes point is not in a string or comment." (if (and open close) (if (and transient-mark-mode mark-active) (progn - (save-excursion (goto-char (region-end)) (insert close)) - (save-excursion (goto-char (region-beginning)) (insert open))) + (save-excursion + (goto-char (region-end)) + (insert close)) + (goto-char (region-beginning)) + (insert open)) (if arg (setq arg (prefix-numeric-value arg)) (setq arg 0)) (cond ((> arg 0) (skip-chars-forward " \t")) |