diff options
| author | John Paul Wallington | 2003-03-06 10:52:39 +0000 |
|---|---|---|
| committer | John Paul Wallington | 2003-03-06 10:52:39 +0000 |
| commit | a82c12670e4ca879f219f5ff47ae2b2eeb50d8d5 (patch) | |
| tree | 5e8bcf32b13b1721148ef38f3056b1e7b74917db | |
| parent | 463a7342da664c04d7c959b5177e1095de0eda1a (diff) | |
| download | emacs-a82c12670e4ca879f219f5ff47ae2b2eeb50d8d5.tar.gz emacs-a82c12670e4ca879f219f5ff47ae2b2eeb50d8d5.zip | |
(electric-buffer-list): Respect `Buffer-menu-use-header-line'.
(electric-buffer-menu-looper): Likewise.
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/ebuff-menu.el | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 66baae8c0f4..ef55de4e99d 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,9 @@ | |||
| 1 | 2003-03-06 John Paul Wallington <jpw@gnu.org> | 1 | 2003-03-06 John Paul Wallington <jpw@gnu.org> |
| 2 | 2 | ||
| 3 | * ebuff-menu.el (electric-buffer-list): Respect | ||
| 4 | `Buffer-menu-use-header-line'. | ||
| 5 | (electric-buffer-menu-looper): Likewise. | ||
| 6 | |||
| 3 | * buff-menu.el (Buffer-menu-mode-map): Add docstring. | 7 | * buff-menu.el (Buffer-menu-mode-map): Add docstring. |
| 4 | (Buffer-menu-buffer): Fix indentation. | 8 | (Buffer-menu-buffer): Fix indentation. |
| 5 | (list-buffers-noselect): Calculate header-line spacing to take | 9 | (list-buffers-noselect): Calculate header-line spacing to take |
| @@ -116,7 +120,7 @@ | |||
| 116 | 120 | ||
| 117 | * play/gamegrid.el (gamegrid-add-score): Add info to docstring. | 121 | * play/gamegrid.el (gamegrid-add-score): Add info to docstring. |
| 118 | (gamegrid-add-score-with-update-game-score-1): New function, | 122 | (gamegrid-add-score-with-update-game-score-1): New function, |
| 119 | factored out of `gamegriod-add-score-with-update-game-score'. | 123 | factored out of `gamegrid-add-score-with-update-game-score'. |
| 120 | (gamegrid-add-score-with-update-game-score): Use it. Fall back on | 124 | (gamegrid-add-score-with-update-game-score): Use it. Fall back on |
| 121 | `gamegrid-add-score-insecure' if the requested file does not exist | 125 | `gamegrid-add-score-insecure' if the requested file does not exist |
| 122 | in $(gamedir), in case the user has installed a game on his own. | 126 | in $(gamedir), in case the user has installed a game on his own. |
diff --git a/lisp/ebuff-menu.el b/lisp/ebuff-menu.el index d87a2124546..21a366f944d 100644 --- a/lisp/ebuff-menu.el +++ b/lisp/ebuff-menu.el | |||
| @@ -74,7 +74,8 @@ Calls value of `electric-buffer-menu-mode-hook' on entry if non-nil. | |||
| 74 | (throw 'electric-buffer-menu-select nil))) | 74 | (throw 'electric-buffer-menu-select nil))) |
| 75 | (let ((start-point (point)) | 75 | (let ((start-point (point)) |
| 76 | (first (progn (goto-char (point-min)) | 76 | (first (progn (goto-char (point-min)) |
| 77 | (forward-line 2) | 77 | (unless Buffer-menu-use-header-line |
| 78 | (forward-line 2)) | ||
| 78 | (point))) | 79 | (point))) |
| 79 | (last (progn (goto-char (point-max)) | 80 | (last (progn (goto-char (point-max)) |
| 80 | (forward-line -1) | 81 | (forward-line -1) |
| @@ -112,7 +113,8 @@ Calls value of `electric-buffer-menu-mode-hook' on entry if non-nil. | |||
| 112 | (signal (car condition) (cdr condition))) | 113 | (signal (car condition) (cdr condition))) |
| 113 | ((< (point) (car state)) | 114 | ((< (point) (car state)) |
| 114 | (goto-char (point-min)) | 115 | (goto-char (point-min)) |
| 115 | (forward-line 2)) | 116 | (unless Buffer-menu-use-header-line |
| 117 | (forward-line 2))) | ||
| 116 | ((> (point) (cdr state)) | 118 | ((> (point) (cdr state)) |
| 117 | (goto-char (point-max)) | 119 | (goto-char (point-max)) |
| 118 | (forward-line -1) | 120 | (forward-line -1) |