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-mode.el, v [EMACS_22_BA


From: Glenn Morris
Subject: [Emacs-diffs] Changes to emacs/lisp/progmodes/cc-mode.el, v [EMACS_22_BASE]
Date: Sat, 28 Apr 2007 20:39:12 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Branch:         EMACS_22_BASE
Changes by:     Glenn Morris <gm>       07/04/28 20:39:11

Index: cc-mode.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/progmodes/cc-mode.el,v
retrieving revision 1.58
retrieving revision 1.58.2.1
diff -u -b -r1.58 -r1.58.2.1
--- cc-mode.el  21 Apr 2007 21:58:59 -0000      1.58
+++ cc-mode.el  28 Apr 2007 20:39:11 -0000      1.58.2.1
@@ -522,7 +522,7 @@
            (setq lim (max (point-min) (1- (point))))
 
            ;; Look for the latest `c-type' property before end1
-           (when (and (> end1 1)
+           (when (and (> end1 (point-min))
                       (setq type-pos
                             (if (get-text-property (1- end1) 'c-type)
                                 end1




reply via email to

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