]> git.eshelyaron.com Git - emacs.git/commitdiff
* progmodes/ld-script.el (auto-mode-alist):
authorDan Nicolaescu <dann@ics.uci.edu>
Fri, 6 Nov 2009 07:50:54 +0000 (07:50 +0000)
committerDan Nicolaescu <dann@ics.uci.edu>
Fri, 6 Nov 2009 07:50:54 +0000 (07:50 +0000)
* vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.

* cus-face.el (custom-declare-face): Purecopy face spec.

lisp/ChangeLog
lisp/cus-face.el
lisp/progmodes/ld-script.el
lisp/vc-hooks.el

index 63e9caad90177c93061ce02e1570a37511332216..380f208b2b1e8637328e6cd4c3c6ea285d52f7b6 100644 (file)
@@ -1,3 +1,10 @@
+2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * progmodes/ld-script.el (auto-mode-alist):
+       * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
+
+       * cus-face.el (custom-declare-face): Purecopy face spec.
+
 2009-11-06  Kenichi Handa  <handa@m17n.org>
 
        * international/uni-bidi.el: Re-generated.
index 78c28b058daf9761a633641d22201a7e288266db..c28b660b31b118277d915370905d0d8a4dd2f387 100644 (file)
@@ -50,7 +50,7 @@
          (if have-window-system
              (make-face-x-resource-internal face)))))
     ;; Don't record SPEC until we see it causes no errors.
-    (put face 'face-defface-spec spec)
+    (put face 'face-defface-spec (purecopy spec))
     (push (cons 'defface face) current-load-list)
     (when (and doc (null (face-documentation face)))
       (set-face-documentation face (purecopy doc)))
index 617a50e20046793fc74457ea39d05f6df8197491..129415eb3725cbde6568fe32356d156d3834fb08 100644 (file)
 ;; eCos uses "ld" and "ldi".
 ;; Netbsd uses "ldscript.*".
 ;;;###autoload
-(add-to-list 'auto-mode-alist '("\\.ld[si]?\\>" . ld-script-mode))
-(add-to-list 'auto-mode-alist '("ld\\.?script\\>" . ld-script-mode))
+(add-to-list 'auto-mode-alist (purecopy '("\\.ld[si]?\\>" . ld-script-mode)))
+;;;###autoload
+(add-to-list 'auto-mode-alist (purecopy '("ld\\.?script\\>" . ld-script-mode)))
 
 ;;;###autoload
-(add-to-list 'auto-mode-alist '("\\.x[bdsru]?[cn]?\\'" . ld-script-mode))
+(add-to-list 'auto-mode-alist (purecopy '("\\.x[bdsru]?[cn]?\\'" . ld-script-mode)))
 
 ;;;###autoload
 (define-derived-mode ld-script-mode nil "LD-Script"
index e8e3d743a2a4d76ffa93b9f8e1dcb70532aa3778..c1336d26924d708dfc3a8418dba5fab6be63d8cc 100644 (file)
@@ -77,9 +77,9 @@ An empty list disables VC altogether."
 
 ;; Note: we don't actually have a darcs back end yet.
 ;; Also, Meta-CVS (corresponsding to MCVS) is unsupported.
-(defcustom vc-directory-exclusion-list '("SCCS" "RCS" "CVS" "MCVS"
+(defcustom vc-directory-exclusion-list (purecopy '("SCCS" "RCS" "CVS" "MCVS"
                                         ".svn" ".git" ".hg" ".bzr"
-                                        "_MTN" "_darcs" "{arch}")
+                                        "_MTN" "_darcs" "{arch}"))
   "List of directory names to be ignored when walking directory trees."
   :type '(repeat string)
   :group 'vc)