1071 |
(with-current-buffer buf |
(with-current-buffer buf |
1072 |
(revert-buffer t t))))) |
(revert-buffer t t))))) |
1073 |
(with-current-buffer buf |
(with-current-buffer buf |
1074 |
(when (not (eq (not (null rawfile)) |
(when (and (not (eq (not (null rawfile)) |
1075 |
(not (null find-file-literally)))) |
(not (null find-file-literally)))) |
1076 |
|
;; It is confusing to ask whether to visit |
1077 |
|
;; non-literally if they have the file in |
1078 |
|
;; hexl-mode. |
1079 |
|
(not (eq major-mode 'hexl-mode))) |
1080 |
(if (buffer-modified-p) |
(if (buffer-modified-p) |
1081 |
(if (y-or-n-p (if rawfile |
(if (y-or-n-p (if rawfile |
1082 |
"Save file and revisit literally? " |
"Save file and revisit literally? " |