From 18807d5461cbd62f1562b160585b510e576e82c4 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sun, 26 Apr 2020 15:31:23 -0700 Subject: [PATCH] =?UTF-8?q?Silence=20=E2=80=98recentf-save-list=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ‘recentf-save-list’ sends a message that it’s saving the recentf list, but seeing that after every time I don’t do something for 10 seconds in Emacs gets a little annoying. --- oni-core.el | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/oni-core.el b/oni-core.el index 212d126..86b4b0b 100644 --- a/oni-core.el +++ b/oni-core.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 2020.0407.212814 +;; Version: 2020.0426.153115 ;; Package-Requires: (oni-data-dir expand-region multiple-cursors embrace helpful) ;; This program is free software; you can redistribute it and/or modify @@ -149,7 +149,12 @@ (unless oni-core--recentf-idle-timer (setq oni-core--recentf-idle-timer - (run-with-idle-timer 10 t 'recentf-save-list))) + (run-with-idle-timer + 10 + t + (lambda () + (let ((inhibit-message t)) + (recentf-save-list)))))) (electric-indent-mode -1) (winner-mode)