From 0ba911156b93dbb1db9aaf5c58de7bbf0816165b Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 16 May 1993 15:28:52 +0000 Subject: [PATCH] (mark-sexp, mark-defun): Activate the mark. --- lisp/emacs-lisp/lisp.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lisp/emacs-lisp/lisp.el b/lisp/emacs-lisp/lisp.el index 9cd00517cc..9c4cbd1d78 100644 --- a/lisp/emacs-lisp/lisp.el +++ b/lisp/emacs-lisp/lisp.el @@ -55,7 +55,8 @@ move to with the same argument." (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 @@ The defun marked is the one that contains point or follows point." (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)) -- 2.39.2