From e26019a56b242f395d5aef11b5e3e896bdc03faf Mon Sep 17 00:00:00 2001 From: Alan Mackenzie Date: Thu, 12 Feb 2009 12:30:12 +0000 Subject: (c-emacs-features): Crash-fix: change `=' to `eq'. --- lisp/progmodes/cc-defs.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lisp/progmodes/cc-defs.el') 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)))) -- cgit v1.2.3