(c-end-of-defun): Tidy up, to eliminate byte-compiler warning "value

unused".
This commit is contained in:
Alan Mackenzie
2007-04-08 11:18:55 +00:00
parent 8300c023f1
commit de5c0bc1bc

View File

@@ -1630,10 +1630,8 @@ the open-parenthesis that starts a defun; see `beginning-of-defun'."
(setq arg (1+ arg)))
(if (< arg 0)
(setq arg (c-backward-to-nth-BOF-{ (- arg) where)))
(when (and (= arg 0)
(c-syntactic-skip-backward "^}")
(eq (char-before) ?\}))
t))
(if (= arg 0)
(c-syntactic-skip-backward "^}")))
;; Move forward to the } of a function
(if (> arg 0)