diff options
| author | Kim F. Storm | 2006-05-05 23:37:55 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2006-05-05 23:37:55 +0000 |
| commit | c398358aee8359d7b63621a35cda5110bc99f81b (patch) | |
| tree | 3b8fc95b8eb2103403875d7f8184cb7ab33aed87 | |
| parent | 4224caf8571da124f7b9a45e7560ef56e5626bc3 (diff) | |
| download | emacs-c398358aee8359d7b63621a35cda5110bc99f81b.tar.gz emacs-c398358aee8359d7b63621a35cda5110bc99f81b.zip | |
(server-visit-files): Use add-to-history.
| -rw-r--r-- | lisp/server.el | 2 |
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) |