Commit 42300c03 authored by Per Cederqvist's avatar Per Cederqvist

(window-list): Removed. This was no longer used.

parent e4f331f0
......@@ -503,31 +503,6 @@ See `walk-windows' for the meaning of MINIBUF and FRAME."
minibuf frame)
windows))
(lyskom-provide-function window-list (&optional frame minibuf window)
"Return a list of windows on FRAME, beginning with WINDOW.
FRAME and WINDOW default to the selected ones.
Optional second arg MINIBUF t means count the minibuffer window
even if not active. If MINIBUF is neither t nor nil it means
not to count the minibuffer even if it is active."
(setq window (or window (selected-window))
frame (or frame (selected-frame)))
(if (not (eq (window-frame window) frame))
(error "Window must be on frame."))
(let ((current-frame (selected-frame))
list)
(unwind-protect
(save-window-excursion
(select-frame frame)
(walk-windows
(function (lambda (cur-window)
(if (not (eq window cur-window))
(setq list (cons cur-window list)))))
minibuf)
(setq list (cons window list)))
(select-frame current-frame))))
(lyskom-provide-function
replace-in-string (str regexp newtext &optional literal)
"Replaces all matches in STR for REGEXP with NEWTEXT string.
......
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