emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: Repeated call of customize buffer returns error


From: Stefan Monnier
Subject: Re: Repeated call of customize buffer returns error
Date: Sat, 14 Jun 2003 15:24:58 -0400

> Something related:  Evaluate the form
> 
> (progn
>   (defcustom test-var nil
>     "No doc"
>     :type '(radio string sexp))
>   (delete-other-windows)
>   (customize-variable 'test-var)
>   (split-window-vertically)
>   (find-file "~")
>   (customize-variable 'test-var))
> 
> You end up with two windows showing the same customize buffer.  With
> the old version of custom-buffer-create in cus-edit.el.~1.181 the two
> windows would show different buffers, which seems to be more
> appropriate.

That's because of "\\`\\*Customiz.*\\*\\'" in same-window-regexps.
Maybe same-window-regexp should be weakened a little so it doesn't
force a buffer to be displayed a second time if it's already shown
in some other window.


        Stefan "who irrationally despises same-window-regexp"





reply via email to

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