Skip to content
GitLab
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
d5dae21c
Commit
d5dae21c
authored
Jan 31, 1997
by
David Kågedal
Browse files
(lyskom): Lägg inte till dubletter i lyskom-buffer-list.
parent
df60f81b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/startup.el
View file @
d5dae21c
...
...
@@ -176,7 +176,13 @@ See lyskom-mode for details."
(
setq
lyskom-executing-command
nil
)
;; Log in
(
kom-start-anew
t
)
(
setq
lyskom-buffer-list
(
cons
lyskom-buffer
lyskom-buffer-list
))
(
if
(
memq
lyskom-buffer
lyskom-buffer-list
)
(
while
(
not
(
eq
lyskom-buffer
(
car
lyskom-buffer-list
)))
(
setq
lyskom-buffer-list
(
nconc
(
cdr
lyskom-buffer-list
)
(
list
(
car
lyskom-buffer-list
)))))
(
setq
lyskom-buffer-list
(
cons
lyskom-buffer
lyskom-buffer-list
)))
(
setq
init-done
t
))
;; Something went wrong. Lets cleanup everything. :->
(
if
init-done
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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