Commit de5c0bc1 authored by Alan Mackenzie's avatar Alan Mackenzie
Browse files

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

unused".
parent 8300c023
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment