|
From: | Juri Linkov |
Subject: | Re: M-! M-n should fetch filename (Re: FFAP) |
Date: | Wed, 11 Nov 2009 02:12:08 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (x86_64-pc-linux-gnu) |
> I think if you rewrite it to > > (let ((filename > (cond > (buffer-file-name) > ((eq major-mode 'dired-mode) > (dired-get-filename nil t))))) > (and filename (file-relative-name filename)))) > > it's a lot more clear why it's useful (it adds data, rather than just > changing one data for another). Done. -- Juri Linkov http://www.jurta.org/emacs/
[Prev in Thread] | Current Thread | [Next in Thread] |