+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.
"\\)$")))
(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))