[Top][All Lists]
[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.
- Add hook to end of `custom-create-buffer-internal', Drew Adams, 2005/01/24
- Re: Add hook to end of `custom-create-buffer-internal', Richard Stallman, 2005/01/25
- RE: Add hook to end of `custom-create-buffer-internal', Drew Adams, 2005/01/25
- Re: Add hook to end of `custom-create-buffer-internal', Richard Stallman, 2005/01/26
- RE: Add hook to end of `custom-create-buffer-internal', Drew Adams, 2005/01/26
- Re: Add hook to end of `custom-create-buffer-internal', Richard Stallman, 2005/01/27
- RE: Add hook to end of `custom-create-buffer-internal', Drew Adams, 2005/01/27
- Re: Add hook to end of `custom-create-buffer-internal',
Richard Stallman <=
- Re: Add hook to end of `custom-create-buffer-internal', Stefan Monnier, 2005/01/28
- RE: Add hook to end of `custom-create-buffer-internal', Drew Adams, 2005/01/28
- Re: Add hook to end of `custom-create-buffer-internal', Richard Stallman, 2005/01/28
- Re: Add hook to end of `custom-create-buffer-internal', Stefan Monnier, 2005/01/29
- RE: Add hook to end of `custom-create-buffer-internal', Drew Adams, 2005/01/28
- Re: Add hook to end of `custom-create-buffer-internal', Richard Stallman, 2005/01/28
- RE: Add hook to end of `custom-create-buffer-internal', Drew Adams, 2005/01/29
- Re: Add hook to end of `custom-create-buffer-internal', Richard Stallman, 2005/01/30