]> git.eshelyaron.com Git - emacs.git/commitdiff
(c-guess-basic-syntax): Remove spurious call to `zerop'.
authorJuanma Barranquero <lekktu@gmail.com>
Mon, 23 May 2005 09:16:17 +0000 (09:16 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Mon, 23 May 2005 09:16:17 +0000 (09:16 +0000)
lisp/ChangeLog
lisp/progmodes/cc-engine.el

index cdeafaa5a32b1e04214906474a5aa79d1ac9aad1..9eefd8afc2e1ae181d42e1bda0caea8190d90b8d 100644 (file)
@@ -1,5 +1,8 @@
 2005-05-23  Juanma Barranquero  <lekktu@gmail.com>
 
+       * progmodes/cc-engine.el (c-guess-basic-syntax):
+       Remove spurious call to `zerop'.
+
        * emacs-lisp/cl.el (acons, pairlis): Add docstring.
 
 2005-05-23  Martin Stjernholm  <bug-cc-mode@gnu.org>
index 84538080219ca369bb62141b42df325da4df353c..e9ed474e792807657c6ef06adaa87fabc9028c8a 100644 (file)
@@ -6109,7 +6109,7 @@ This function does not do any hidden buffer changes."
                                (and c-overloadable-operators-regexp
                                     (looking-at c-overloadable-operators-regexp)
                                     (save-excursion
-                                      (zerop (c-backward-token-2 1 nil lim))
+                                      (c-backward-token-2 1 nil lim)
                                       (looking-at "operator\\>[^_]"))))))
                (or (memq (char-after) '(?, ?=))
                    (and (c-major-mode-is 'c++-mode)