(mark-sexp, mark-defun): Activate the mark.
This commit is contained in:
parent
a1929ae348
commit
0ba911156b
1 changed files with 3 additions and 2 deletions
|
@ -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))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue