[Top][All Lists]
[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: |
Sat, 12 Jan 2002 08:27:13 -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? "