summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2016-03-03 23:52:27 -0800
committerJohn Wiegley <johnw@newartisans.com>2016-03-03 23:52:27 -0800
commit68fa05fd936aeb5ed4d39a48c570b1d4c29e8f9c (patch)
treed89797f701d48ac631cd7afb6db6fc47163ea9a9 /lisp/emacs-lisp
parentb6b565b4a1d0fedede8dbd325af1d4c63ec5ec58 (diff)
parente6a381956048113f00ef08340e6f31df93ee0158 (diff)
downloademacs-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.el7
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"))