Commit a53720fa authored by Per Cederqvist's avatar Per Cederqvist

(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>
* lyskom-elisp-client.spec: Changed file names in %install
......
......@@ -618,11 +618,10 @@ buffer"
(when (and (window-live-p dedicated-window)
(eq (get-buffer buffer)
(window-buffer dedicated-window)))
(cond ((null (delq dedicated-window
(window-list (window-frame dedicated-window))))
(bury-buffer buffer))
(t (delete-window dedicated-window)))
(setq dedicated-window nil))
(if (eq dedicated-window (next-window dedicated-window))
(bury-buffer buffer)
(delete-window dedicated-window))
(setq dedicated-window nil))
(when saved-window-configuration
(lyskom-set-partial-window-configuration
saved-window-configuration)))
......
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