# HG changeset patch # User David Ponce # Date 1144074868 0 # Node ID 6828bafcac8e3b168bfb9cac0eee8dcfecb8b283 # Parent 94aafe7344bd7253409054a15d339d41f97e3756 (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 -r 94aafe7344bd -r 6828bafcac8e lisp/recentf.el --- 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))))