emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Graphics files in archives cannot be toggled to display image or cod


From: Richard Stallman
Subject: Re: Graphics files in archives cannot be toggled to display image or code
Date: Tue, 04 Apr 2006 09:53:23 -0400

Does this handle tar mode as well as arc mode?


*** image-mode.el       11 Feb 2006 11:43:50 -0500      1.10
--- image-mode.el       03 Apr 2006 23:35:43 -0400      
***************
*** 139,145 ****
      ;; was inserted
      (let* ((image
            (if (and (buffer-file-name)
!                    (not (buffer-modified-p)))
                (progn (clear-image-cache)
                       (create-image (buffer-file-name)))
              (create-image
--- 139,149 ----
      ;; was inserted
      (let* ((image
            (if (and (buffer-file-name)
!                    (not (buffer-modified-p))
!                    (not (and (boundp 'archive-superior-buffer)
!                              archive-superior-buffer))
!                    (not (and (boundp 'tar-superior-buffer)
!                              tar-superior-buffer)))
                (progn (clear-image-cache)
                       (create-image (buffer-file-name)))
              (create-image




reply via email to

[Prev in Thread] Current Thread [Next in Thread]