Reiner Steib wrote:
> On Mon, Aug 01 2005, David Reitter wrote:
>>At least, I'd like to be able to replace my home folder with a tilde where
>>possible.
>
> (defun rs-recentf-filename-handler (name)
> (replace-regexp-in-string (concat "\\`" (expand-file-name "~")) "~" name))
> (setq recentf-filename-handler 'rs-recentf-filename-handler)

Why not just (setq recentf-filename-handler 'abbreviate-file-name)

--
Kevin Rodgers



_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Reply via email to