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


From: Alan Mackenzie
Subject: [Emacs-diffs] Changes to emacs/lisp/progmodes/cc-vars.el, v [EMACS_22_BASE]
Date: Wed, 16 Jan 2008 21:26:59 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Branch:         EMACS_22_BASE
Changes by:     Alan Mackenzie <acmacm> 08/01/16 21:26:59

Index: cc-vars.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/progmodes/cc-vars.el,v
retrieving revision 1.54.2.8
retrieving revision 1.54.2.9
diff -u -b -r1.54.2.8 -r1.54.2.9
--- cc-vars.el  14 Jan 2008 22:31:07 -0000      1.54.2.8
+++ cc-vars.el  16 Jan 2008 21:26:59 -0000      1.54.2.9
@@ -74,7 +74,8 @@
       :value 'other))
 
 ;; The next defun will supersede c-const-symbol.
-(defun c-constant-symbol (sym len)
+(eval-and-compile
+  (defun c-constant-symbol (sym len)
   "Create an uneditable symbol for customization buffers.
 SYM is the name of the symbol, LEN the length of the field (in
 characters) the symbol will be displayed in.  LEN must be big
@@ -89,7 +90,7 @@
     `(const
       :size ,len
       :format ,disp
-      :value ,sym)))
+       :value ,sym))))
 
 (define-widget 'c-const-symbol 'item
   "An uneditable lisp symbol.  This is obsolete -




reply via email to

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