comparison lisp/dumped-lisp.el @ 4506:bd28481bb0e1

Port #'window-buffer-height, #'fit-window-to-buffer, & window, buf, functions. lisp/ChangeLog addition: 2008-08-31 Aidan Kehoe <kehoea@parhasard.net> * window.el (only-window-p): New. Check if WINDOW is the only window in some context, normally its frame. (one-window-p): Implemented this in terms of #'only-window-p, calling it on the selected window. (window-buffer-height): Uncomment this, make it work. (count-screen-lines): Support a BUFFER argument. (fit-window-to-buffer): Uncomment this, correct its implementation to work with XEmacs. * help.el (temp-buffer-resize-mode): New. Name taken from GNU, implementation our own. * (resize-temp-buffer-window): New. GNU-compatible alias for #'shrink-window-if-larger-than-buffer. * dumped-lisp.el (preloaded-file-list): Move easy-mmode before help, now that the latter uses #'define-minor-mode. * frame.el: Point to #'temp-buffer-resize-mode in a comment. Some of this code is from GNU; help.el CVS version 1.327 of 2007-03-21, window.el CVS version 1.122, of 2007-06-24. Both these are GPLV2 or later.
author Aidan Kehoe <kehoea@parhasard.net>
date Sun, 31 Aug 2008 12:26:46 +0200
parents ebb35ddea76a
children c673987f5f3d 8b2f75cecb89
comparison
equal deleted inserted replaced
4504:b82fdf7305ee 4506:bd28481bb0e1
93 ; `emacs-user-extension-dir' 93 ; `emacs-user-extension-dir'
94 "misc" 94 "misc"
95 ;; (pureload "profile") 95 ;; (pureload "profile")
96 "loadhist" ; Must be dumped before loaddefs is loaded 96 "loadhist" ; Must be dumped before loaddefs is loaded
97 ; Used by help. 97 ; Used by help.
98 "help"
99 ;; (pureload "hyper-apropos") Soon... 98 ;; (pureload "hyper-apropos") Soon...
100 "files" 99 "files"
101 "lib-complete" 100 "lib-complete"
102 "format" 101 "format"
103 "indent" 102 "indent"
108 "lisp" 107 "lisp"
109 "page" 108 "page"
110 "register" 109 "register"
111 "iso8859-1" ; This must be before any modes 110 "iso8859-1" ; This must be before any modes
112 ; (sets standard syntax table.) 111 ; (sets standard syntax table.)
113 "easy-mmode" ; Added for 21.5. 112 "easy-mmode" ; Added for 21.5. Used by help.
113 "help"
114 "easymenu" ; Added for 20.3. 114 "easymenu" ; Added for 20.3.
115 "lisp-mode" 115 "lisp-mode"
116 "text-mode" 116 "text-mode"
117 "fill" 117 "fill"
118 "auto-save" ; Added for 20.4 118 "auto-save" ; Added for 20.4