changeset 69778:6828bafcac8e

(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.
author David Ponce <david@dponce.com>
date Mon, 03 Apr 2006 14:34:28 +0000
parents 94aafe7344bd
children 865de55024d5
files lisp/recentf.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/recentf.el	Mon Apr 03 14:33:45 2006 +0000
+++ b/lisp/recentf.el	Mon Apr 03 14:34:28 2006 +0000
@@ -1165,7 +1165,7 @@
            :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))))