emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/progmodes/cc-engine.el


From: Sam Steingold
Subject: [Emacs-diffs] Changes to emacs/lisp/progmodes/cc-engine.el
Date: Thu, 25 Jul 2002 09:23:27 -0400

Index: emacs/lisp/progmodes/cc-engine.el
diff -c emacs/lisp/progmodes/cc-engine.el:1.24 
emacs/lisp/progmodes/cc-engine.el:1.25
*** emacs/lisp/progmodes/cc-engine.el:1.24      Sat May 25 12:17:27 2002
--- emacs/lisp/progmodes/cc-engine.el   Thu Jul 25 09:23:27 2002
***************
*** 1794,1803 ****
              search-end (nth 0 paren-state)))
        ;; if search-end is nil, or if the search-end character isn't an
        ;; open brace, we are definitely not in a class
!       (if (or (not search-end)
!             (< search-end (point-min))
!             (not (eq (char-after search-end) ?{)))
!         nil
        ;; now, we need to look more closely at search-start.  if
        ;; search-start is nil, then our start boundary is really
        ;; point-min.
--- 1794,1804 ----
              search-end (nth 0 paren-state)))
        ;; if search-end is nil, or if the search-end character isn't an
        ;; open brace, we are definitely not in a class
!       (when (consp search-end)
!         (setq search-end (car search-end)))
!       (unless (or (not search-end)
!                   (< search-end (point-min))
!                   (not (eq (char-after search-end) ?{)))
        ;; now, we need to look more closely at search-start.  if
        ;; search-start is nil, then our start boundary is really
        ;; point-min.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]