lisp/desktop.el (desktop-clear): Fix previous change.
This commit is contained in:
parent
60967f56e7
commit
da77a2e2eb
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2013-07-23 Juanma Barranquero <lekktu@gmail.com>
|
||||
|
||||
* desktop.el (desktop-clear, desktop-list*): Fix previous change.
|
||||
|
||||
2013-07-23 Michael Albinus <michael.albinus@gmx.de>
|
||||
|
||||
* net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
|
||||
|
|
|
@ -652,7 +652,7 @@ Furthermore, it clears the variables listed in `desktop-globals-to-clear'."
|
|||
"\\)$")))
|
||||
(dolist (buffer (buffer-list))
|
||||
(let ((bufname (buffer-name buffer)))
|
||||
(unless (or (eq (aref bufname 0) ?s) ;; Don't kill internal buffers
|
||||
(unless (or (eq (aref bufname 0) ?\s) ;; Don't kill internal buffers
|
||||
(string-match-p preserve-regexp bufname))
|
||||
(kill-buffer buffer)))))
|
||||
(delete-other-windows))
|
||||
|
|
Loading…
Add table
Reference in a new issue