# HG changeset patch # User Juanma Barranquero # Date 1220968858 0 # Node ID c4934c5221ea77d4a0091b9fdd84337ffcf7fae2 # Parent 4069f64c7d4c3c9a8788ee202fe3f73dd9b6d448 * ido.el (ido-unload-function): New function. diff -r 4069f64c7d4c -r c4934c5221ea lisp/ChangeLog --- a/lisp/ChangeLog Tue Sep 09 11:09:31 2008 +0000 +++ b/lisp/ChangeLog Tue Sep 09 14:00:58 2008 +0000 @@ -1,3 +1,7 @@ +2008-09-09 Juanma Barranquero + + * ido.el (ido-unload-function): New function. + 2008-09-08 Juanma Barranquero * ido.el (ido-file-internal): Fix typo in prompt. diff -r 4069f64c7d4c -r c4934c5221ea lisp/ido.el --- a/lisp/ido.el Tue Sep 09 11:09:31 2008 +0000 +++ b/lisp/ido.el Tue Sep 09 14:00:58 2008 +0000 @@ -4658,6 +4658,13 @@ (ido-choice-list choices)) (ido-read-internal 'list prompt hist def require-match initial-input))) +(defun ido-unload-function () + "Unload the Ido library." + (ido-mode -1) + (setq minor-mode-map-alist (assq-delete-all 'ido-mode minor-mode-map-alist)) + ;; continue standard unloading + nil) + (provide 'ido) ;; arch-tag: b63a3500-1735-41bd-8a01-05373f0864da