From 48bcce6f89d7d6cad64af2510d1d32d192b6a8fd Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Fri, 5 Oct 2018 11:50:19 +0900 Subject: [PATCH] Refactor --- emacs.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/emacs.el b/emacs.el index dd43469..4aff436 100644 --- a/emacs.el +++ b/emacs.el @@ -2035,14 +2035,14 @@ Return that buffer." collect e)) (l (cons path l)) - (l (recently-truncate l - recently-max))) + (l (recently--truncate l + recently-max))) (unless (equal recently-list l) (setq recently-list l) (recently-write))))) -(defun recently-truncate (list len) +(defun recently--truncate (list len) "Truncate LIST to LEN." (if (> (length list) len)