diff options
author | Alan Mackenzie <[email protected]> | 2009-02-12 12:30:12 +0000 |
---|---|---|
committer | Alan Mackenzie <[email protected]> | 2009-02-12 12:30:12 +0000 |
commit | e26019a56b242f395d5aef11b5e3e896bdc03faf (patch) | |
tree | fae829eaaa328f33fc94f92dc57f6008037f7fc0 /lisp/progmodes/cc-defs.el | |
parent | a7442b9538a937032f1c66dfcc54b87448730ae5 (diff) |
(c-emacs-features): Crash-fix: change `=' to `eq'.
Diffstat (limited to 'lisp/progmodes/cc-defs.el')
-rw-r--r-- | lisp/progmodes/cc-defs.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/cc-defs.el b/lisp/progmodes/cc-defs.el index e12b9c1dc1..3dde4048db 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)))) |