From c398358aee8359d7b63621a35cda5110bc99f81b Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Fri, 5 May 2006 23:37:55 +0000 Subject: [PATCH] (server-visit-files): Use add-to-history. --- lisp/server.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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." ;; deleted file, offer to write it. (let* ((filen (car file)) (obuf (get-file-buffer filen))) - (push filen file-name-history) + (add-to-history 'file-name-history filen) (if (and obuf (set-buffer obuf)) (progn (cond ((file-exists-p filen) -- 2.39.2