projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8300c02
)
(c-end-of-defun): Tidy up, to eliminate byte-compiler warning "value
author
Alan Mackenzie
<acm@muc.de>
Sun, 8 Apr 2007 11:18:55 +0000
(11:18 +0000)
committer
Alan Mackenzie
<acm@muc.de>
Sun, 8 Apr 2007 11:18:55 +0000
(11:18 +0000)
unused".
lisp/progmodes/cc-cmds.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/cc-cmds.el
b/lisp/progmodes/cc-cmds.el
index debdfe44cb4c039452285769716cf7a50a181738..7b28851b3bbd5c6a7a38320017913583d82d4923 100644
(file)
--- a/
lisp/progmodes/cc-cmds.el
+++ b/
lisp/progmodes/cc-cmds.el
@@
-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)