Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
lyskom-elisp-client
lyskom-elisp-client
Commits
42300c03
Commit
42300c03
authored
Dec 02, 2000
by
Per Cederqvist
Browse files
(window-list): Removed. This was no longer used.
parent
e4f331f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/compatibility.el
View file @
42300c03
...
...
@@ -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.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment