diff options
| author | Richard M. Stallman | 1993-08-11 20:36:30 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-08-11 20:36:30 +0000 |
| commit | a217e08acfacc3cb325ce2ec0aea7d85b58ede50 (patch) | |
| tree | 546eecc22e4366961fe9f024cc4cd60c1d1aa137 | |
| parent | a1251f7964c1ee06b2668b91beeb423e1471f341 (diff) | |
| download | emacs-a217e08acfacc3cb325ce2ec0aea7d85b58ede50.tar.gz emacs-a217e08acfacc3cb325ce2ec0aea7d85b58ede50.zip | |
(ask-user-about-supersession-threat): Mention file name when asking question.
| -rw-r--r-- | lisp/userlock.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/userlock.el b/lisp/userlock.el index b79859de614..316a1a4c892 100644 --- a/lisp/userlock.el +++ b/lisp/userlock.el | |||
| @@ -94,7 +94,8 @@ The buffer in question is current when this function is called." | |||
| 94 | (save-window-excursion | 94 | (save-window-excursion |
| 95 | (let (answer) | 95 | (let (answer) |
| 96 | (while (null answer) | 96 | (while (null answer) |
| 97 | (message "File has changed on disk; really want to edit the buffer? (y, n or C-h) ") | 97 | (message "%s changed on disk; really edit the buffer? (y, n or C-h) " |
| 98 | (file-name-nondirectory fn)) | ||
| 98 | (let ((tem (downcase (let ((cursor-in-echo-area t)) | 99 | (let ((tem (downcase (let ((cursor-in-echo-area t)) |
| 99 | (read-char))))) | 100 | (read-char))))) |
| 100 | (setq answer | 101 | (setq answer |