diff options
author | Kaushal Modi <kaushal.modi@gmail.com> | 2016-07-22 14:48:12 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2016-07-22 14:48:12 -0400 |
commit | 03f32876210f3dd68c71baa210e523c3b7581758 (patch) | |
tree | 169c239b48f79f3fcb502606afbe304a6777fc6d | |
parent | d0e1774a5850b924915bde5abefe791ce18d84a2 (diff) |
Avoid repeated warnings while restoring desktop
* lisp/desktop.el (desktop-restore-file-buffer): Do not print warnings
when files are being opened during desktop restore.
-rw-r--r-- | lisp/desktop.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/desktop.el b/lisp/desktop.el index 1f460b7a3e..df4ff551c2 100644 --- a/lisp/desktop.el +++ b/lisp/desktop.el @@ -1402,7 +1402,7 @@ after that many seconds of idle time." (or coding-system-for-read (cdr (assq 'buffer-file-coding-system desktop-buffer-locals)))) - (buf (find-file-noselect buffer-filename))) + (buf (find-file-noselect buffer-filename :nowarn))) (condition-case nil (switch-to-buffer buf) (error (pop-to-buffer buf))) |