mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-09 07:40:39 -08:00
(beginning-of-defun, end-of-defun): Don't
use inhibit-mark-movement.
This commit is contained in:
parent
24199fe75a
commit
90c08845df
1 changed files with 2 additions and 4 deletions
|
|
@ -192,8 +192,7 @@ open-parenthesis, and point ends up at the beginning of the line.
|
|||
If variable `beginning-of-defun-function' is non-nil, its value
|
||||
is called as a function to find the defun's beginning."
|
||||
(interactive "p")
|
||||
(or inhibit-mark-movement
|
||||
(not (eq this-command 'beginning-of-defun))
|
||||
(or (not (eq this-command 'beginning-of-defun))
|
||||
(eq last-command 'beginning-of-defun)
|
||||
(and transient-mark-mode mark-active)
|
||||
(push-mark))
|
||||
|
|
@ -245,8 +244,7 @@ matches the open-parenthesis that starts a defun; see function
|
|||
If variable `end-of-defun-function' is non-nil, its value
|
||||
is called as a function to find the defun's end."
|
||||
(interactive "p")
|
||||
(or inhibit-mark-movement
|
||||
(not (eq this-command 'end-of-defun))
|
||||
(or (not (eq this-command 'end-of-defun))
|
||||
(eq last-command 'end-of-defun)
|
||||
(and transient-mark-mode mark-active)
|
||||
(push-mark))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue