Skip to content

Commit

Permalink
find-file-noselect: Change :nowarn to t
Browse files Browse the repository at this point in the history
  • Loading branch information
jamescherti committed Sep 15, 2024
1 parent a13b841 commit 7c89571
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions easysession.el
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7c89571

Please sign in to comment.