summaryrefslogtreecommitdiff
path: root/lisp/recentf.el
diff options
context:
space:
mode:
authorDavid Ponce <david@dponce.com>2006-04-03 14:34:28 +0000
committerDavid Ponce <david@dponce.com>2006-04-03 14:34:28 +0000
commit5d24c60e3a3b07ccb31b886885ea117a058168be (patch)
tree527934db12f93ec523f8796cd983729659270f51 /lisp/recentf.el
parente1e4913d72fd49e1306c2db2a67cdd1f1eb76bd1 (diff)
downloademacs-5d24c60e3a3b07ccb31b886885ea117a058168be.tar.gz
(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.
Diffstat (limited to 'lisp/recentf.el')
-rw-r--r--lisp/recentf.el2
1 files changed, 1 insertions, 1 deletions
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))))