changeset 77051:93765c8a2ed2

(c-end-of-defun): Tidy up, to eliminate byte-compiler warning "value unused".
author Alan Mackenzie <acm@muc.de>
date Sun, 08 Apr 2007 11:18:55 +0000
parents e6c7610dc10c
children 9567c6b7088c
files lisp/progmodes/cc-cmds.el
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/cc-cmds.el	Sun Apr 08 11:17:07 2007 +0000
+++ b/lisp/progmodes/cc-cmds.el	Sun Apr 08 11:18:55 2007 +0000
@@ -1630,10 +1630,8 @@
 	      (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)