# HG changeset patch # User Alan Mackenzie # Date 1234441812 0 # Node ID 035c2464c7e2bc6e5cef8061ebd48f4b6cafdd34 # Parent 07e3ec5f279b92b5f041e06d2d4e8fdfe72158be (c-emacs-features): Crash-fix: change `=' to `eq'. diff -r 07e3ec5f279b -r 035c2464c7e2 lisp/progmodes/cc-defs.el --- a/lisp/progmodes/cc-defs.el Thu Feb 12 12:29:06 2009 +0000 +++ b/lisp/progmodes/cc-defs.el Thu Feb 12 12:30:12 2009 +0000 @@ -1459,9 +1459,9 @@ (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))))