From 7c89571d14a3c31e4516a6768076f6effb875774 Mon Sep 17 00:00:00 2001 From: James Cherti <60946298+jamescherti@users.noreply.github.com> Date: Sun, 15 Sep 2024 11:19:04 -0400 Subject: [PATCH] find-file-noselect: Change :nowarn to t --- easysession.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/easysession.el b/easysession.el index 7a4bc7a..aa866cd 100644 --- a/easysession.el +++ b/easysession.el @@ -620,8 +620,8 @@ Returns t if the session file exists, nil otherwise." (buffer-path (cdr buffer-name-and-path))) (let* ((buffer (get-file-buffer buffer-path))) (unless buffer - (setq buffer (ignore-errors (find-file-noselect buffer-path - :nowarn)))) + (setq buffer (ignore-errors + (find-file-noselect buffer-path t)))) (if (and buffer (buffer-live-p buffer)) (progn ;; We are going to be using buffer-base-buffer to make sure