changeset 2823:8ab0e280fbf0

(mark-sexp, mark-defun): Activate the mark.
author Richard M. Stallman <rms@gnu.org>
date Sun, 16 May 1993 15:28:52 +0000
parents 153a269b1315
children c684bce3e977
files lisp/emacs-lisp/lisp.el
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/lisp.el	Sun May 16 13:42:36 1993 +0000
+++ b/lisp/emacs-lisp/lisp.el	Sun May 16 15:28:52 1993 +0000
@@ -55,7 +55,8 @@
   (push-mark
     (save-excursion
       (forward-sexp arg)
-      (point))))
+      (point))
+    nil t))
 
 (defun forward-list (&optional arg)
   "Move forward across one balanced group of parentheses.
@@ -188,7 +189,7 @@
   (interactive)
   (push-mark (point))
   (end-of-defun)
-  (push-mark (point))
+  (push-mark (point) nil t)
   (beginning-of-defun)
   (re-search-backward "^\n" (- (point) 1) t))