Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
2776a650
Commit
2776a650
authored
Sep 09, 2014
by
Ivan Shmakov
Committed by
Stefan Monnier
Sep 09, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* lisp/desktop.el (desktop-create-buffer): Check that buffers are still live
before burying them. Fixes: debbugs:18373
parent
7c2aaeb4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/desktop.el
lisp/desktop.el
+3
-1
No files found.
lisp/ChangeLog
View file @
2776a650
2014-09-10 Ivan Shmakov <ivan@siamics.net> (tiny change)
* desktop.el (desktop-create-buffer): Check that buffers are still live
before burying them (bug#18373).
2014-09-09 Glenn Morris <rgm@gnu.org>
* calendar/diary-lib.el (diary-list-entries):
...
...
lisp/desktop.el
View file @
2776a650
...
...
@@ -1375,7 +1375,9 @@ after that many seconds of idle time."
;; Restore buffer list order with new buffer at end. Don't change
;; the order for old desktop files (old desktop module behavior).
(
unless
(
<
desktop-file-version
206
)
(
mapc
'bury-buffer
buffer-list
)
(
dolist
(
buf
buffer-list
)
(
and
(
buffer-live-p
buf
)
(
bury-buffer
buf
)))
(
when
result
(
bury-buffer
result
)))
(
when
result
(
unless
(
or
desktop-first-buffer
(
<
desktop-file-version
206
))
...
...
Write
Preview
Markdown
is supported
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