summaryrefslogtreecommitdiffhomepage
path: root/lib/net
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2021-05-03 04:22:32 +0100
committerjao <jao@gnu.org>2021-05-03 04:22:32 +0100
commit5e519e0617427eff39578e16c36487ee66b5acd9 (patch)
treecbd3bf2a94e413c3ac4472f7251def4b43d6f0e5 /lib/net
parentc05c69351d4bf522cba1486ccdd06891a6428de2 (diff)
downloadelibs-5e519e0617427eff39578e16c36487ee66b5acd9.tar.gz
elibs-5e519e0617427eff39578e16c36487ee66b5acd9.tar.bz2
silent eww session saving
Diffstat (limited to 'lib/net')
-rw-r--r--lib/net/jao-eww-session.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/net/jao-eww-session.el b/lib/net/jao-eww-session.el
index c9e8a35..1e413c3 100644
--- a/lib/net/jao-eww-session.el
+++ b/lib/net/jao-eww-session.el
@@ -163,10 +163,10 @@ the session is already displayed in a eww tab, jao-eww-session can:
(defun jao-eww-session-not-empty () (> (length (jao-eww-session-urls)) 0))
-(defun jao-eww-session--to--file (filename &optional is-auto skip)
+(defun jao-eww-session--to--file (filename &optional skip)
(require 'pp)
(when (jao-eww-session-not-empty)
- (let ((inhibit-message is-auto)
+ (let ((inhibit-message t)
(session (jao-eww-session--update-current skip)))
(with-temp-buffer
(insert ";;;; File generated by jao-eww-session. DO NOT EDIT!\n")
@@ -187,7 +187,7 @@ the session is already displayed in a eww tab, jao-eww-session can:
(defun jao-eww-session--save-backup (&optional skip)
(let ((f (jao-eww-session--backup-name jao-eww-session-file)))
- (jao-eww-session--to--file f t skip)))
+ (jao-eww-session--to--file f skip)))
(defun jao-eww-session--save-backup-1 ()
(when (derived-mode-p 'eww-mode) (jao-eww-session--save-backup t)))