1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00

(find-file-noselect): If after-find-file switches buffers,

return the buffer that it leaves current.
This commit is contained in:
Karl Heuer 1996-02-21 21:32:35 +00:00
parent cd69d9dd0f
commit fa66096961

View File

@ -829,7 +829,8 @@ The buffer is not selected, just returned to the caller."
(setq backup-inhibited t)))
(if rawfile
nil
(after-find-file error (not nowarn)))))
(after-find-file error (not nowarn))
(setq buf (current-buffer)))))
buf)))
(defvar after-find-file-from-revert-buffer nil)