changeset 20772:a75bd4b8183d

(desktop-clear): Don't kill dead buffers.
author Richard M. Stallman <rms@gnu.org>
date Mon, 26 Jan 1998 03:09:01 +0000
parents c6d9f48bd2f8
children 6c655dc99321
files lisp/desktop.el
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/desktop.el	Mon Jan 26 02:33:48 1998 +0000
+++ b/lisp/desktop.el	Mon Jan 26 03:09:01 1998 +0000
@@ -258,6 +258,7 @@
   (let ((buffers (buffer-list)))
     (while buffers
       (or (member (buffer-name (car buffers)) desktop-clear-preserve-buffers)
+	  (null (buffer-name (car buffers)))
 	  ;; Don't kill buffers made for internal purposes.
 	  (and (not (equal (buffer-name (car buffers)) ""))
 	       (eq (aref (buffer-name (car buffers)) 0) ?\ ))