summaryrefslogtreecommitdiff
path: root/lisp/progmodes/cc-defs.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/progmodes/cc-defs.el')
-rw-r--r--lisp/progmodes/cc-defs.el19
1 files changed, 9 insertions, 10 deletions
diff --git a/lisp/progmodes/cc-defs.el b/lisp/progmodes/cc-defs.el
index 0053cfcf443..d39c4880dcc 100644
--- a/lisp/progmodes/cc-defs.el
+++ b/lisp/progmodes/cc-defs.el
@@ -1,7 +1,7 @@
;;; cc-defs.el --- compile time definitions for CC Mode
-;; Copyright (C) 1985,1987,1992-2003, 2004, 2005, 2006
-;; Free Software Foundation, Inc.
+;; Copyright (C) 1985,1987,1992-2003, 2004, 2005, 2006 Free Software
+;; Foundation, Inc.
;; Authors: 1998- Martin Stjernholm
;; 1992-1999 Barry A. Warsaw
@@ -71,10 +71,10 @@
(eval-after-load "font-lock"
'(if (and (not (featurep 'cc-fix)) ; only load the file once.
+ (featurep 'xemacs) ; There is now (2005/12) code in GNU Emacs CVS
+ ; to make the call to f-l-c-k throw an error.
(let (font-lock-keywords)
- (condition-case nil
- (font-lock-compile-keywords '("\\<\\>"))
- (error nil))
+ (font-lock-compile-keywords '("\\<\\>"))
font-lock-keywords)) ; did the previous call foul this up?
(load "cc-fix")))
@@ -82,19 +82,18 @@
;; to ensure correct byte compilation.
(eval-when-compile
(if (and (not (featurep 'cc-fix))
+ (featurep 'xemacs)
(progn
(require 'font-lock)
(let (font-lock-keywords)
- (condition-case nil
- (font-lock-compile-keywords '("\\<\\>"))
- (error nil))
+ (font-lock-compile-keywords '("\\<\\>"))
font-lock-keywords)))
(cc-load "cc-fix")))
;;; Variables also used at compile time.
-(defconst c-version "5.31"
+(defconst c-version "5.31.3"
"CC Mode version number.")
(defconst c-version-sym (intern c-version))
@@ -2041,5 +2040,5 @@ quoted."
(cc-provide 'cc-defs)
-;; arch-tag: 3bb2629d-dd84-4ff0-ad39-584be0fe3cda
+;;; arch-tag: 3bb2629d-dd84-4ff0-ad39-584be0fe3cda
;;; cc-defs.el ends here