diff options
Diffstat (limited to 'lisp/emacs-lisp/lisp.el')
-rw-r--r-- | lisp/emacs-lisp/lisp.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/lisp.el b/lisp/emacs-lisp/lisp.el index 9cd00517cc2..9c4cbd1d788 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)) |