# HG changeset patch # User Alan Mackenzie # Date 1176031135 0 # Node ID 93765c8a2ed222cd3331c133e9003d8bab70cc84 # Parent e6c7610dc10c527a150b20675d3084b1f302e912 (c-end-of-defun): Tidy up, to eliminate byte-compiler warning "value unused". diff -r e6c7610dc10c -r 93765c8a2ed2 lisp/progmodes/cc-cmds.el --- 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)