From a5307bfd124f09fcc0cb5f740b30943567b8abda Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Fri, 28 Sep 2018 15:31:06 +0900 Subject: [PATCH] Fix --- emacs.el | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/emacs.el b/emacs.el index f18cf75..a1c4105 100644 --- a/emacs.el +++ b/emacs.el @@ -1834,12 +1834,12 @@ This mode is a simplified version of `adoc-mode'." (defun recently-truncate (list len) "Truncate LIST to LEN." - (when (> (length list) - len) - (setq list - (cl-subseq list - 0 - len)))) + (if (> (length list) + len) + (cl-subseq list + 0 + len) + list)) (defun recently-find-file-hook () "Add current file."