aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorJuanma Barranquero <[email protected]>2005-05-23 09:16:17 +0000
committerJuanma Barranquero <[email protected]>2005-05-23 09:16:17 +0000
commita4632380faae651c8cbf322dc90d81aab1e01688 (patch)
tree0e68448c4fbb7569a5a65a176fb11e0855a3bbb5 /lisp
parent33f413db2faf2139342191d3aabeba41a7db331c (diff)
(c-guess-basic-syntax): Remove spurious call to `zerop'.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/progmodes/cc-engine.el2
2 files changed, 4 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index cdeafaa5a3..9eefd8afc2 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
2005-05-23 Juanma Barranquero <[email protected]>
+ * 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 <[email protected]>
diff --git a/lisp/progmodes/cc-engine.el b/lisp/progmodes/cc-engine.el
index 8453808021..e9ed474e79 100644
--- a/lisp/progmodes/cc-engine.el
+++ b/lisp/progmodes/cc-engine.el
@@ -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)