emacs-devel
[Top][All Lists]
Advanced

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

Re: `xterm-mouse-mode' has a bogus Custom group


From: Stefan Monnier
Subject: Re: `xterm-mouse-mode' has a bogus Custom group
Date: Sun, 10 Apr 2005 10:37:39 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin)

> confusion with some prior similar cases.  The only drawback of not
> preloading it is that we need to duplicate the same code in the
> defcustom and in startup.el and make sure that the two stay exactly in
> sync.

There are other ways to avoid this duplication.  See patch below.


        Stefan


--- startup.el  08 avr 2005 10:38:07 -0400      1.344
+++ startup.el  10 avr 2005 10:35:33 -0400      
@@ -737,7 +737,8 @@
              emacs-quick-startup
               (not (display-graphic-p))
               (not (fboundp 'x-show-tip)))
-    (tooltip-mode 1))
+    (tooltip-mode 1)
+    (put 'tooltip-mode 'standard-value '(t)))
 
   ;; Register default TTY colors for the case the terminal hasn't a
   ;; terminal init file.




reply via email to

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