mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-10 01:34:36 -08:00
(split-window-save-restore-data):
Don't update the data if OLD-INFO is nil.
This commit is contained in:
parent
da932079d0
commit
6b3b4dbbfc
2 changed files with 23 additions and 2 deletions
|
|
@ -1,3 +1,23 @@
|
|||
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>
|
||||
|
||||
* vc-svn.el (vc-svn-print-log, vc-svn-diff): Add optional BUFFER
|
||||
|
|
|
|||
|
|
@ -327,8 +327,9 @@ new mode line."
|
|||
(with-current-buffer (window-buffer)
|
||||
(if view-mode
|
||||
(let ((old-info (assq old-w view-return-to-alist)))
|
||||
(push (cons new-w (cons (and old-info (car (cdr old-info))) t))
|
||||
view-return-to-alist)))
|
||||
(if old-info
|
||||
(push (cons new-w (cons (car (cdr old-info)) t))
|
||||
view-return-to-alist))))
|
||||
new-w))
|
||||
|
||||
(defun split-window-horizontally (&optional arg)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue