(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.
This commit is contained in:
David Ponce 2006-04-03 14:34:28 +00:00
parent e1e4913d72
commit 5d24c60e3a

View file

@ -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))))