[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: customize-style
From: |
Luc Teirlinck |
Subject: |
Re: customize-style |
Date: |
Thu, 20 Mar 2003 09:56:29 -0600 (CST) |
Richard Stallman wrote:
I think you misread the doc string--the variable is local only
in Custom buffers, and *scratch* is not one. The setq did
exactly what it should do.
Sorry, I should have been more precise. Do:
M-x customize-browse
then: select option: Confirm Kill Emacs
M-: (setq custom-local-buffer "buf")
C-h v custom-local-buffer
Same result: the global value got set.
The following (trivial) diff corrects the problem:
(after the patch it is still going to be global in *scratch*, but
local in Custom buffers.)
Change log:
2003-03-20 Luc Teirlinck <address@hidden>
* cus-edit.el (custom-mode): Make custom-local-buffer local.
Patch:
===File ~/cus-edit-diff=====================================
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 08:53:54 2003
***************
*** 4062,4067 ****
--- 4062,4068 ----
(setq widget-documentation-face 'custom-documentation-face)
(make-local-variable 'widget-button-face)
(setq widget-button-face 'custom-button-face)
+ (set (make-local-variable 'custom-local-buffer) nil)
(set (make-local-variable 'widget-button-pressed-face)
'custom-button-pressed-face)
(set (make-local-variable 'widget-mouse-face)
Diff finished at Thu Mar 20 09:12:03
============================================================
- 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 <=
- Re: customize-style, alternative patch., Luc Teirlinck, 2003/03/20
- Re: customize-style, alternative patch., Richard Stallman, 2003/03/22
- Re: customize-style, alternative patch., Luc Teirlinck, 2003/03/22