summaryrefslogtreecommitdiff
path: root/helm-for-files.el
diff options
context:
space:
mode:
authorChunyang Xu <mail@xuchunyang.me>2017-12-03 15:34:51 +0800
committerChunyang Xu <mail@xuchunyang.me>2017-12-03 15:42:27 +0800
commitec8d2449df7d442c06c27e000126912a06d6d010 (patch)
tree7aa9c690aac2976e57c7f9a8cfd7322f8bbc69e9 /helm-for-files.el
parent9806cf068580cc9a940ef2ee97bedf3334439df4 (diff)
Fix recentf action to delete (#1924)
* helm-for-files.el (helm--setup-source): Do it.
Diffstat (limited to 'helm-for-files.el')
-rw-r--r--helm-for-files.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/helm-for-files.el b/helm-for-files.el
index 6c3a3550..53714052 100644
--- a/helm-for-files.el
+++ b/helm-for-files.el
@@ -127,7 +127,7 @@ this source is accessible and properly loaded."
'(("Delete file(s) from recentf" .
(lambda (_candidate)
(cl-loop for file in (helm-marked-candidates)
- do (setq recentf-list (delq file recentf-list)))))))))
+ do (setq recentf-list (delete file recentf-list)))))))))
(defvar helm-source-recentf nil
"See (info \"(emacs)File Conveniences\").