diff lisp/emacs-lisp/lisp.el @ 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 10e417efb12a
children 507f64624555
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))