[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: More convenient editing of recentf files
From: |
Drew Adams |
Subject: |
RE: More convenient editing of recentf files |
Date: |
Sun, 15 Mar 2009 16:02:44 -0700 |
I said:
> Within the loop, call `completing-read' against
> `recentf-list'. E.g.:
> ...
> (progn
> (unless (boundp 'recentf-list)(require 'recentf))
> (when (fboundp 'recentf-mode) (recentf-mode 99))
> (unless (consp recentf-list)
> (error "No recently accessed files"))
> recentf-list))
Obviously, if you choose this approach, you would want to move the recentf tests
outside the loop.
I wanted to also show how defining an Icicles multi-command mirrors defining an
ordinary command that calls `completing-read'. (In Icicles there is no loop -
just a single call to `completing-read'.)