(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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue