aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim F. Storm2006-05-05 23:37:55 +0000
committerKim F. Storm2006-05-05 23:37:55 +0000
commitc398358aee8359d7b63621a35cda5110bc99f81b (patch)
tree3b8fc95b8eb2103403875d7f8184cb7ab33aed87
parent4224caf8571da124f7b9a45e7560ef56e5626bc3 (diff)
downloademacs-c398358aee8359d7b63621a35cda5110bc99f81b.tar.gz
emacs-c398358aee8359d7b63621a35cda5110bc99f81b.zip
(server-visit-files): Use add-to-history.
-rw-r--r--lisp/server.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/server.el b/lisp/server.el
index befcd22ad3a..43b2dc63389 100644
--- a/lisp/server.el
+++ b/lisp/server.el
@@ -411,7 +411,7 @@ so don't mark these buffers specially, just visit them normally."
411 ;; deleted file, offer to write it. 411 ;; deleted file, offer to write it.
412 (let* ((filen (car file)) 412 (let* ((filen (car file))
413 (obuf (get-file-buffer filen))) 413 (obuf (get-file-buffer filen)))
414 (push filen file-name-history) 414 (add-to-history 'file-name-history filen)
415 (if (and obuf (set-buffer obuf)) 415 (if (and obuf (set-buffer obuf))
416 (progn 416 (progn
417 (cond ((file-exists-p filen) 417 (cond ((file-exists-p filen)