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:
parent
cd69d9dd0f
commit
fa66096961
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user