diff options
| author | Richard M. Stallman | 2004-04-20 20:58:30 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2004-04-20 20:58:30 +0000 |
| commit | 6b3b4dbbfcf65ffde08d3b82e5b29db2bb177204 (patch) | |
| tree | 0f50810f2c7d4d87e0b2ab9c9e0fc16228e8950f | |
| parent | da932079d0f7a35c0c7567a9c5fd4dbbbe7af077 (diff) | |
| download | emacs-6b3b4dbbfcf65ffde08d3b82e5b29db2bb177204.tar.gz emacs-6b3b4dbbfcf65ffde08d3b82e5b29db2bb177204.zip | |
(split-window-save-restore-data):
Don't update the data if OLD-INFO is nil.
| -rw-r--r-- | lisp/ChangeLog | 20 | ||||
| -rw-r--r-- | lisp/window.el | 5 |
2 files changed, 23 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 232173168c0..8ba6c959b01 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,23 @@ | |||
| 1 | 2004-04-20 Richard M. Stallman <rms@gnu.org> | ||
| 2 | |||
| 3 | * window.el (split-window-save-restore-data): | ||
| 4 | Don't update the data if OLD-INFO is nil. | ||
| 5 | |||
| 6 | * view.el (view-return-to-alist): Mark it permanent local. | ||
| 7 | |||
| 8 | * subr.el (event-modifiers): Fix the criterion for ASCII control chars. | ||
| 9 | |||
| 10 | * recentf.el (recentf-save-list): Catch and warn about errors. | ||
| 11 | |||
| 12 | * menu-bar.el (menu-bar-update-buffers): Call copy-sequence | ||
| 13 | so "Buffers" won't be pure. | ||
| 14 | |||
| 15 | * help-mode.el (help-mode-finish): Set help-return-alist first | ||
| 16 | thing, setting only the entry for the selected window. | ||
| 17 | |||
| 18 | * help-fns.el (describe-function-1): If many non-control non-meta | ||
| 19 | keys run the command, don't list all of them. | ||
| 20 | |||
| 1 | 2004-04-20 Juanma Barranquero <lektu@terra.es> | 21 | 2004-04-20 Juanma Barranquero <lektu@terra.es> |
| 2 | 22 | ||
| 3 | * vc-svn.el (vc-svn-print-log, vc-svn-diff): Add optional BUFFER | 23 | * vc-svn.el (vc-svn-print-log, vc-svn-diff): Add optional BUFFER |
diff --git a/lisp/window.el b/lisp/window.el index 91b91cfb158..2b5a4ab161d 100644 --- a/lisp/window.el +++ b/lisp/window.el | |||
| @@ -327,8 +327,9 @@ new mode line." | |||
| 327 | (with-current-buffer (window-buffer) | 327 | (with-current-buffer (window-buffer) |
| 328 | (if view-mode | 328 | (if view-mode |
| 329 | (let ((old-info (assq old-w view-return-to-alist))) | 329 | (let ((old-info (assq old-w view-return-to-alist))) |
| 330 | (push (cons new-w (cons (and old-info (car (cdr old-info))) t)) | 330 | (if old-info |
| 331 | view-return-to-alist))) | 331 | (push (cons new-w (cons (car (cdr old-info)) t)) |
| 332 | view-return-to-alist)))) | ||
| 332 | new-w)) | 333 | new-w)) |
| 333 | 334 | ||
| 334 | (defun split-window-horizontally (&optional arg) | 335 | (defun split-window-horizontally (&optional arg) |