# HG changeset patch # User Juanma Barranquero # Date 1254618733 0 # Node ID 2abed3b3f74151d30c4715ae630e4f2d2358382e # Parent 0f5992576338d2e7ac428f8acb4e72ca5a7050f2 * recentf.el (recentf-unload-function): New function. diff -r 0f5992576338 -r 2abed3b3f741 lisp/ChangeLog --- a/lisp/ChangeLog Sun Oct 04 01:03:51 2009 +0000 +++ b/lisp/ChangeLog Sun Oct 04 01:12:13 2009 +0000 @@ -1,3 +1,7 @@ +2009-10-04 Juanma Barranquero + + * recentf.el (recentf-unload-function): New function. + 2009-10-04 Chong Yidong * cedet/semantic/db-file.el (semanticdb-default-save-directory): @@ -47,8 +51,8 @@ 2009-09-30 Eric Ludlam - * cedet/semantic/util-modes.el (semantic-highlight-func-mode): Doc - fix. + * cedet/semantic/util-modes.el (semantic-highlight-func-mode): + Doc fix. * cedet/ede/proj-comp.el (ede-proj-makefile-insert-variables): Only insert each variable once. diff -r 0f5992576338 -r 2abed3b3f741 lisp/recentf.el --- a/lisp/recentf.el Sun Oct 04 01:03:51 2009 +0000 +++ b/lisp/recentf.el Sun Oct 04 01:12:13 2009 +0000 @@ -1361,6 +1361,12 @@ (message "Recentf mode %sabled" (if recentf-mode "en" "dis")))) recentf-mode) +(defun recentf-unload-function () + "Unload the recentf library." + ;; continue standard unloading + (recentf-mode -1) + nil) + (provide 'recentf) (run-hooks 'recentf-load-hook)