Commit a53720fa authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(lyskom-undisplay-buffer): Don't use window-list, since it takes

	different arguments under Emacs 21 and other emacsen.
parent d62fc59e
2000-11-19 Per Starbck (commit by Per Cederqvist <ceder@moria>)
* buffers.el (lyskom-undisplay-buffer): Don't use window-list,
since it takes different arguments under Emacs 21 and other
emacsen.
2000-11-18 Joel Rosdahl <joel@rosdahl.net> 2000-11-18 Joel Rosdahl <joel@rosdahl.net>
* lyskom-elisp-client.spec: Changed file names in %install * lyskom-elisp-client.spec: Changed file names in %install
......
...@@ -618,11 +618,10 @@ buffer" ...@@ -618,11 +618,10 @@ buffer"
(when (and (window-live-p dedicated-window) (when (and (window-live-p dedicated-window)
(eq (get-buffer buffer) (eq (get-buffer buffer)
(window-buffer dedicated-window))) (window-buffer dedicated-window)))
(cond ((null (delq dedicated-window (if (eq dedicated-window (next-window dedicated-window))
(window-list (window-frame dedicated-window)))) (bury-buffer buffer)
(bury-buffer buffer)) (delete-window dedicated-window))
(t (delete-window dedicated-window))) (setq dedicated-window nil))
(setq dedicated-window nil))
(when saved-window-configuration (when saved-window-configuration
(lyskom-set-partial-window-configuration (lyskom-set-partial-window-configuration
saved-window-configuration))) saved-window-configuration)))
......
Supports Markdown
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