Mercurial > emacs
changeset 101974:035c2464c7e2
(c-emacs-features): Crash-fix: change `=' to `eq'.
author | Alan Mackenzie <acm@muc.de> |
---|---|
date | Thu, 12 Feb 2009 12:30:12 +0000 |
parents | 07e3ec5f279b |
children | a36cf7879fb6 |
files | lisp/progmodes/cc-defs.el |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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))))