mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-14 03:37:38 -08:00
(c-backward-to-start-of-if): Don't assume point-min == 1.
This commit is contained in:
parent
a1906d512b
commit
2f85befdd5
1 changed files with 1 additions and 1 deletions
|
|
@ -963,7 +963,7 @@ brace."
|
|||
(c-beginning-of-statement-1)
|
||||
(setq c-parsing-error
|
||||
(format "No matching `if' found for `else' on line %d"
|
||||
(1+ (count-lines 1 here))))
|
||||
(1+ (count-lines (point-min) here))))
|
||||
(throw 'orphan-if nil))))
|
||||
(cond
|
||||
((looking-at "else\\b[^_]")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue