[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: customize-style, alternative patch.
From: |
Luc Teirlinck |
Subject: |
Re: customize-style, alternative patch. |
Date: |
Thu, 20 Mar 2003 11:32:48 -0600 (CST) |
In the diff I sent before I added the line:
+ (set (make-local-variable 'custom-local-buffer) nil)
to cus-edit.el.
I am not sure if it would not be better to just add:
(make-local-variable 'custom-local-buffer)
instead (and relying on the defcustom to set it to nil).
I do not fully understand the purpose of custom-local-buffer, but not
resetting the value if custom-mode is ran again might be more
consistent with custom-local-buffer being a permanent local. If so,
below is an alternate patch (which also avoids adding the line in the
middle of the face-customizations):
Change log:
2003-03-20 Luc Teirlinck <address@hidden>
* cus-edit.el (custom-mode): Make custom-local-buffer local.
Patch:
===File ~/cus-edit-newdiff==================================
cd /usr/local/share/emacs/21.3.50/lisp/
diff -c /usr/local/share/emacs/21.3.50/lisp/cus-edit.old.el
/usr/local/share/emacs/21.3.50/lisp/cus-edit.el
*** /usr/local/share/emacs/21.3.50/lisp/cus-edit.old.el Fri Mar 14 15:09:47 2003
--- /usr/local/share/emacs/21.3.50/lisp/cus-edit.el Thu Mar 20 11:07:35 2003
***************
*** 4058,4063 ****
--- 4058,4064 ----
(use-local-map custom-mode-map)
(easy-menu-add Custom-mode-menu)
(make-local-variable 'custom-options)
+ (make-local-variable 'custom-local-buffer)
(make-local-variable 'widget-documentation-face)
(setq widget-documentation-face 'custom-documentation-face)
(make-local-variable 'widget-button-face)
Diff finished at Thu Mar 20 11:14:29
============================================================
- Re: customize-style, (continued)
- Re: customize-style, David Masterson, 2003/03/17
- Re: customize-style, Richard Stallman, 2003/03/17
- Re: customize-style, Per Abrahamsen, 2003/03/18
- Re: customize-style, Luc Teirlinck, 2003/03/18
- Re: customize-style, Richard Stallman, 2003/03/20
- Re: customize-style, Per Abrahamsen, 2003/03/20
- Re: customize-style, Luc Teirlinck, 2003/03/20
- Re: customize-style, Per Abrahamsen, 2003/03/21
- Re: customize-style, Richard Stallman, 2003/03/22
- Re: customize-style, Luc Teirlinck, 2003/03/20
- Re: customize-style, alternative patch.,
Luc Teirlinck <=
- Re: customize-style, alternative patch., Richard Stallman, 2003/03/22
- Re: customize-style, alternative patch., Luc Teirlinck, 2003/03/22