X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/81d3d428c6b88e6c99f3fad6b7cc52c12236ff56..68b962d42a9cc126759448484d23e10e2102d622:/lisp/recentf.el diff --git a/lisp/recentf.el b/lisp/recentf.el index ce342d8763..bc8904f921 100644 --- a/lisp/recentf.el +++ b/lisp/recentf.el @@ -1,7 +1,7 @@ ;;; recentf.el --- setup a menu of recently opened files ;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, -;; 2005, 2006, 2007 Free Software Foundation, Inc. +;; 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. ;; Author: David Ponce ;; Created: July 19 1999 @@ -9,10 +9,10 @@ ;; This file is part of GNU Emacs. -;; GNU Emacs 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. +;; GNU Emacs 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 of the License, or +;; (at your option) any later version. ;; GNU Emacs is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -20,9 +20,7 @@ ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to the -;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -;; Boston, MA 02110-1301, USA. +;; along with GNU Emacs. If not, see . ;;; Commentary: @@ -69,7 +67,7 @@ See the command `recentf-save-list'." :group 'recentf :type 'integer) -(defcustom recentf-save-file "~/.recentf" +(defcustom recentf-save-file (convert-standard-filename "~/.recentf") "File to save the recent list into." :group 'recentf :type 'file @@ -227,15 +225,15 @@ This item will replace the \"More...\" item." :group 'recentf :type 'boolean) +(define-obsolete-variable-alias 'recentf-menu-append-commands-p + 'recentf-menu-append-commands-flag + "22.1") + (defcustom recentf-menu-append-commands-flag t "Non-nil means to append command items to the menu." :group 'recentf :type 'boolean) -(define-obsolete-variable-alias 'recentf-menu-append-commands-p - 'recentf-menu-append-commands-flag - "22.1") - (defcustom recentf-auto-cleanup 'mode "Define when to automatically cleanup the recent list. The following values can be set: @@ -302,7 +300,7 @@ used as shortcuts to open the Nth file." ;;; Utilities ;; (defconst recentf-case-fold-search - (memq system-type '(vax-vms windows-nt cygwin)) + (memq system-type '(windows-nt cygwin)) "Non-nil if recentf searches and matches should ignore case.") (defsubst recentf-string-equal (s1 s2)