summaryrefslogtreecommitdiff
path: root/lisp/progmodes/cc-defs.el
diff options
context:
space:
mode:
authorAlan Mackenzie <acm@muc.de>2009-02-12 12:30:12 +0000
committerAlan Mackenzie <acm@muc.de>2009-02-12 12:30:12 +0000
commite26019a56b242f395d5aef11b5e3e896bdc03faf (patch)
treefae829eaaa328f33fc94f92dc57f6008037f7fc0 /lisp/progmodes/cc-defs.el
parenta7442b9538a937032f1c66dfcc54b87448730ae5 (diff)
downloademacs-e26019a56b242f395d5aef11b5e3e896bdc03faf.tar.gz
(c-emacs-features): Crash-fix: change `=' to `eq'.
Diffstat (limited to 'lisp/progmodes/cc-defs.el')
-rw-r--r--lisp/progmodes/cc-defs.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/cc-defs.el b/lisp/progmodes/cc-defs.el
index e12b9c1dc13..3dde4048db6 100644
--- a/lisp/progmodes/cc-defs.el
+++ b/lisp/progmodes/cc-defs.el
@@ -1459,9 +1459,9 @@ non-nil, a caret is prepended to invert the set."
(and (eq eod-param 'foo)
(setq eod-param arg)
(eq arg 3)))))
- (if (save-excursion (and (beginning-of-defun 3) (= bod-param 3)
+ (if (save-excursion (and (beginning-of-defun 3) (eq bod-param 3)
(not (beginning-of-defun))
- (end-of-defun 3) (= eod-param 3)
+ (end-of-defun 3) (eq eod-param 3)
(not (end-of-defun))))
(setq list (cons 'argumentative-bod-function list))))