[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: customize-group
From: |
Lute Kamstra |
Subject: |
Re: customize-group |
Date: |
Mon, 02 Jun 2003 15:48:26 +0200 |
User-agent: |
Gnus/5.1001 (Gnus v5.10.1) Emacs/21.3 (gnu/linux) |
Lute Kamstra <address@hidden> writes:
> When calling customize-group interactively, I get the error below.
>
> Debugger entered--Lisp error: (wrong-type-argument bufferp nil)
> buffer-local-value(buffer-file-name nil)
> custom-get-fresh-buffer("*Customize Group: Emacs*")
> custom-buffer-create(((emacs custom-group)) "*Customize Group: Emacs*" "
> for group Emacs")
> customize-group("emacs")
> * call-interactively(customize-group)
> execute-extended-command(nil)
> call-interactively(execute-extended-command)
I think the patch below fixes the problem.
Stefan, can you confirm this?
Lute.
*** lisp/cus-edit.el.~1.183.~ 2003-06-02 11:30:27.000000000 +0200
--- lisp/cus-edit.el 2003-06-02 15:43:28.000000000 +0200
***************
*** 1214,1220 ****
;; To be more complete, we should also kill all permanent-local variables,
;; but it's not needed for custom.
(let ((buf (get-buffer name)))
! (when (buffer-local-value 'buffer-file-name buf)
;; This will check if the file is not saved.
(kill-buffer buf)
(setq buf nil))
--- 1214,1220 ----
;; To be more complete, we should also kill all permanent-local variables,
;; but it's not needed for custom.
(let ((buf (get-buffer name)))
! (when (and buf (buffer-local-value 'buffer-file-name buf))
;; This will check if the file is not saved.
(kill-buffer buf)
(setq buf nil))
- customize-group, Lute Kamstra, 2003/06/02
- Re: customize-group,
Lute Kamstra <=