From: Juanma Barranquero Date: Fri, 28 Feb 2014 13:59:36 +0000 (+0100) Subject: lisp/finder.el (finder-unload-function): New function. X-Git-Tag: emacs-24.3.90~339 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=53f6cda8e61f0fcaa5297f372b249ed41d9c0a13;p=emacs.git lisp/finder.el (finder-unload-function): New function. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 4f271733298..8150de7bba2 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2014-02-28 Juanma Barranquero + + * finder.el (finder-unload-function): New function. + 2014-02-28 Juanma Barranquero * dframe.el (dframe-detach): diff --git a/lisp/finder.el b/lisp/finder.el index d060d69e427..712db440bd3 100644 --- a/lisp/finder.el +++ b/lisp/finder.el @@ -431,6 +431,12 @@ Delete the window and kill all Finder-related buffers." (let ((buf "*Finder*")) (and (get-buffer buf) (kill-buffer buf)))) +(defun finder-unload-function () + "Unload the Finder library." + (with-demoted-errors (unload-feature 'finder-inf t)) + ;; continue standard unloading + nil) + (provide 'finder)