Commit 6b3b4dbb authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(split-window-save-restore-data):

Don't update the data if OLD-INFO is nil.
parent da932079
2004-04-20 Richard M. Stallman <rms@gnu.org>
* window.el (split-window-save-restore-data):
Don't update the data if OLD-INFO is nil.
* view.el (view-return-to-alist): Mark it permanent local.
* subr.el (event-modifiers): Fix the criterion for ASCII control chars.
* recentf.el (recentf-save-list): Catch and warn about errors.
* menu-bar.el (menu-bar-update-buffers): Call copy-sequence
so "Buffers" won't be pure.
* help-mode.el (help-mode-finish): Set help-return-alist first
thing, setting only the entry for the selected window.
* help-fns.el (describe-function-1): If many non-control non-meta
keys run the command, don't list all of them.
2004-04-20 Juanma Barranquero <lektu@terra.es> 2004-04-20 Juanma Barranquero <lektu@terra.es>
* vc-svn.el (vc-svn-print-log, vc-svn-diff): Add optional BUFFER * vc-svn.el (vc-svn-print-log, vc-svn-diff): Add optional BUFFER
......
...@@ -327,8 +327,9 @@ new mode line." ...@@ -327,8 +327,9 @@ new mode line."
(with-current-buffer (window-buffer) (with-current-buffer (window-buffer)
(if view-mode (if view-mode
(let ((old-info (assq old-w view-return-to-alist))) (let ((old-info (assq old-w view-return-to-alist)))
(push (cons new-w (cons (and old-info (car (cdr old-info))) t)) (if old-info
view-return-to-alist))) (push (cons new-w (cons (car (cdr old-info)) t))
view-return-to-alist))))
new-w)) new-w))
(defun split-window-horizontally (&optional arg) (defun split-window-horizontally (&optional arg)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment