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

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

Re: Add hook to end of `custom-create-buffer-internal'


From: Richard Stallman
Subject: Re: Add hook to end of `custom-create-buffer-internal'
Date: Fri, 28 Jan 2005 09:14:03 -0500

    What is the "special-display" feature that you are referring to - do you
    mean `special-display-popup-frame'? I already do `fit-frame' at the end of
    `special-display-popup-frame', but it has no effect there, because the
    buffer is not filled at the time this function is called.

That's where the bug is.  Does this fix it?

*** cus-edit.el 08 Jan 2005 21:43:12 -0500      1.206
--- cus-edit.el 28 Jan 2005 08:59:52 -0500      
***************
*** 1249,1257 ****
        (special-display-buffer-names nil)
        (special-display-regexps nil)
        (same-window-buffer-names nil)
!       (same-window-regexps nil))
!     (pop-to-buffer (custom-get-fresh-buffer name))
!     (custom-buffer-create-internal options description)))
  
  (defcustom custom-reset-button-menu nil
    "If non-nil, only show a single reset button in customize buffers.
--- 1240,1250 ----
        (special-display-buffer-names nil)
        (special-display-regexps nil)
        (same-window-buffer-names nil)
!       (same-window-regexps nil)
!       (buffer (custom-get-fresh-buffer name)))
!     (with-current-buffer buffer
!       (custom-buffer-create-internal options description))
!     (pop-to-buffer buffer)))
  
  (defcustom custom-reset-button-menu nil
    "If non-nil, only show a single reset button in customize buffers.




reply via email to

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