From: David Ponce Date: Mon, 3 Apr 2006 14:34:28 +0000 (+0000) Subject: (recentf-open-files-item): Include newline in button X-Git-Tag: emacs-pretest-22.0.90~3343 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5d24c60e3a3b07ccb31b886885ea117a058168be;p=emacs.git (recentf-open-files-item): Include newline in button field, so opening a file will work, when the point is at the end of the file name. Allow, for example, to [i]search a file by extension and just push RET to open it. --- diff --git a/lisp/recentf.el b/lisp/recentf.el index 2afb0955c46..02e7e712399 100644 --- a/lisp/recentf.el +++ b/lisp/recentf.el @@ -1165,7 +1165,7 @@ IGNORE other arguments." :button-prefix "" :button-suffix "" :button-face default - :format "%[%t%]\n" + :format "%[%t\n%]" :help-echo ,(concat "Open " (cdr menu-element)) :action recentf-open-files-action ,(cdr menu-element))))