Make emacsclient add abbreviated file names to file-name-history
* lisp/server.el (server-visit-files): Use 'file-name-history--add' to add the visited files to history. (Bug#60097)
This commit is contained in:
parent
b3e7768a0e
commit
a75d1da911
1 changed files with 1 additions and 1 deletions
|
@ -1495,7 +1495,7 @@ so don't mark these buffers specially, just visit them normally."
|
|||
minibuffer-auto-raise))
|
||||
(filen (car file))
|
||||
(obuf (get-file-buffer filen)))
|
||||
(add-to-history 'file-name-history filen)
|
||||
(file-name-history--add filen)
|
||||
(if (null obuf)
|
||||
(progn
|
||||
(run-hooks 'pre-command-hook)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue