mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-12 16:23:57 +00:00
(c-beginning-of-defun): With -ve arg and point too close to EOB, leave
point at EOB rather than last `}'.
This commit is contained in:
parent
c825c7249f
commit
f7510c4036
@ -1531,7 +1531,7 @@ defun."
|
||||
(setq arg (c-forward-to-nth-EOF-} (- arg) where)))
|
||||
;; Move forward to the next opening brace....
|
||||
(when (and (= arg 0)
|
||||
(c-syntactic-re-search-forward "{" nil t))
|
||||
(c-syntactic-re-search-forward "{" nil 'eob))
|
||||
(backward-char)
|
||||
;; ... and backward to the function header.
|
||||
(c-beginning-of-decl-1)
|
||||
|
Loading…
Reference in New Issue
Block a user