4 Feb 00:06
dired-visit-history.el
Kevin Ryde <user42 <at> zip.com.au>
2012-02-03 23:06:29 GMT
2012-02-03 23:06:29 GMT
This is a spot of code I've used to make dired file visits go into the usual file-name-history. It's a good way to make that history more like all the recent files you visited -- though perhaps whether you want that or only explicit find-files is a personal preference :).
;;; dired-visit-history.el --- add dired visited files to find-file history ;; Copyright 2009, 2011 Kevin Ryde ;; Author: Kevin Ryde <user42 <at> zip.com.au> ;; Version: 1 ;; Keywords: files, dired, history ;; URL: http://user42.tuxfamily.org/dired-visit-history/index.html ;; EmacsWiki: DiredMode ;; dired-visit-history.el is free software; you can redistribute it and/or ;; modify it under the terms of the GNU General Public License as published ;; by the Free Software Foundation; either version 3, or (at your option) ;; any later version. ;; ;; dired-visit-history.el is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General ;; Public License for more details. ;; ;; You can get a copy of the GNU General Public License online at ;; <http://www.gnu.org/licenses/>.(Continue reading)
RSS Feed