]> git.eshelyaron.com Git - emacs.git/commitdiff
(recentf-open-files-item): Include newline in button
authorDavid Ponce <david@dponce.com>
Mon, 3 Apr 2006 14:34:28 +0000 (14:34 +0000)
committerDavid Ponce <david@dponce.com>
Mon, 3 Apr 2006 14:34:28 +0000 (14:34 +0000)
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.

lisp/recentf.el

index 2afb0955c46443d03238f827fbb62f1bfcebdeb4..02e7e712399dc5da2e657d9e5fb46199f0d88097 100644 (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))))