emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lisp/files.el


From: Eli Zaretskii
Subject: [Emacs-diffs] Changes to emacs/lisp/files.el
Date: Sun, 13 Jan 2002 03:49:06 -0500

Index: emacs/lisp/files.el
diff -c emacs/lisp/files.el:1.547 emacs/lisp/files.el:1.548
*** emacs/lisp/files.el:1.547   Thu Jan  3 21:13:37 2002
--- emacs/lisp/files.el Sat Jan 12 08:27:13 2002
***************
*** 1078,1085 ****
                      (setq buffer-read-only read-only)))
                  (setq buffer-file-read-only read-only))
  
!               (when (not (eq (not (null rawfile))
!                              (not (null find-file-literally))))
                  (if (buffer-modified-p)
                      (if (y-or-n-p (if rawfile
                                        "Save file and revisit literally? "
--- 1078,1089 ----
                      (setq buffer-read-only read-only)))
                  (setq buffer-file-read-only read-only))
  
!               (when (and (not (eq (not (null rawfile))
!                                   (not (null find-file-literally))))
!                          ;; It is confusing to ask whether to visit
!                          ;; non-literally if they have the file in
!                          ;; hexl-mode.
!                          (not (eq major-mode 'hexl-mode)))
                  (if (buffer-modified-p)
                      (if (y-or-n-p (if rawfile
                                        "Save file and revisit literally? "



reply via email to

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