aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuri Linkov2021-09-15 09:47:58 +0300
committerJuri Linkov2021-09-15 09:47:58 +0300
commit67ab890cde6c4c87ddf2913f4d476ea2e2f6b19e (patch)
tree0158e9593352664b188cbde8c72c3ef8e8a4e258
parentb172049717ee2dd55e389bfa96d33a1850fe41ef (diff)
downloademacs-67ab890cde6c4c87ddf2913f4d476ea2e2f6b19e.tar.gz
emacs-67ab890cde6c4c87ddf2913f4d476ea2e2f6b19e.zip
* lisp/window.el (display-buffer-in-previous-window): Add symbolp (bug#50576)
-rw-r--r--lisp/window.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/window.el b/lisp/window.el
index 2960384e152..3b897eb0bac 100644
--- a/lisp/window.el
+++ b/lisp/window.el
@@ -8363,7 +8363,8 @@ indirectly called by the latter."
8363 (throw 'best t))))) 8363 (throw 'best t)))))
8364 ;; When ALIST has a `previous-window' entry, that entry may override 8364 ;; When ALIST has a `previous-window' entry, that entry may override
8365 ;; anything we found so far. 8365 ;; anything we found so far.
8366 (when (and previous-window (boundp previous-window)) 8366 (when (and previous-window (symbolp previous-window)
8367 (boundp previous-window))
8367 (setq previous-window (symbol-value previous-window))) 8368 (setq previous-window (symbol-value previous-window)))
8368 (when (and (setq window previous-window) 8369 (when (and (setq window previous-window)
8369 (window-live-p window) 8370 (window-live-p window)