In GNU Emacs 22.0.50.81 (i686-pc-linux-gnu, GTK+ Version 2.8.18)
 of 2006-07-24 on escpc40
X server distributor `The X.Org Foundation', version 11.0.70000000
configured using `configure '--with-gtk''

The attached patch has two quick fixes for when the tumme associated
dired buffer is killed.

Thanks,

Matt

Index: tumme.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/tumme.el,v
retrieving revision 1.39
diff -u -r1.39 tumme.el
--- tumme.el	24 Jul 2006 16:27:01 -0000	1.39
+++ tumme.el	25 Jul 2006 09:18:52 -0000
@@ -1009,7 +1009,7 @@
   (let ((old-buf (current-buffer))
         (dired-buf (tumme-associated-dired-buffer))
         (file-name (tumme-original-file-name)))
-    (when (and dired-buf file-name)
+    (when (and (buffer-live-p dired-buf) file-name)
       (setq file-name (file-name-nondirectory file-name))
       (set-buffer dired-buf)
       (goto-char (point-min))
@@ -1134,7 +1134,7 @@
   (format-spec
    tumme-display-properties-format
    (list
-    (cons ?b buf)
+    (cons ?b (or buf ""))
     (cons ?f file)
     (cons ?t (or (princ props) ""))
     (cons ?c (or comment "")))))
_______________________________________________
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to