bongo-patches
[Top][All Lists]
Advanced

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

[bongo-patches] Don't use `custom-quote' in Emacs 21


From: Daniel Brockman
Subject: [bongo-patches] Don't use `custom-quote' in Emacs 21
Date: Wed, 03 Jan 2007 05:42:28 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

I hope this doesn't cause any problems...

Wed Jan  3 05:40:59 CET 2007  Daniel Brockman <address@hidden>

 * Don't use `custom-quote' in Emacs 21.

diff -rN -u old-bongo/bongo-emacs21.el new-bongo/bongo-emacs21.el
--- old-bongo/bongo-emacs21.el  2007-01-03 05:42:02.000000000 +0100
+++ new-bongo/bongo-emacs21.el  2007-01-03 05:42:02.000000000 +0100
@@ -147,12 +147,17 @@
                   (equal value (condition-case nil
                                    (eval (car old))
                                  (error nil)))))
-        (progn (put symbol 'customized-value (list (custom-quote value)))
-               
+        (progn (put symbol 'customized-value (list
+
+;;; Not available in Emacs 21.
+;;;                                               (custom-quote value)
+
+                                              (list 'quote value)))
+
 ;;; Not available in Emacs 21.
 ;;;                (custom-push-theme 'theme-value symbol 'user 'set
 ;;;                                   (custom-quote value))
-               
+
                )
       (put symbol 'customized-value nil))
     ;; Changed?
-- 
Daniel Brockman <address@hidden>

reply via email to

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