emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lisp/cus-theme.el


From: Chong Yidong
Subject: [Emacs-diffs] Changes to emacs/lisp/cus-theme.el
Date: Fri, 13 Jan 2006 02:35:30 +0000

Index: emacs/lisp/cus-theme.el
diff -u emacs/lisp/cus-theme.el:1.20 emacs/lisp/cus-theme.el:1.21
--- emacs/lisp/cus-theme.el:1.20        Fri Jan 13 02:30:03 2006
+++ emacs/lisp/cus-theme.el     Fri Jan 13 02:35:30 2006
@@ -160,6 +160,8 @@
           (message "%s is already in the theme" (symbol-name symbol)))
          ((not (boundp symbol))
           (message "%s is not defined as a variable" (symbol-name symbol)))
+         ((eq symbol 'custom-enabled-themes)
+          (message "Custom theme cannot contain `custom-enabled-themes'"))
          (t
           (widget-insert "\n")
           (let ((widget (widget-create 'custom-variable




reply via email to

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