diff options
| author | Juanma Barranquero <lekktu@gmail.com> | 2008-09-09 14:00:58 +0000 |
|---|---|---|
| committer | Juanma Barranquero <lekktu@gmail.com> | 2008-09-09 14:00:58 +0000 |
| commit | 4e3e159bdd5e9434f93b9d5b8d05b3eb54e8fe43 (patch) | |
| tree | 8ca07bf171273f6c367f9d2674e541d69544a698 /lisp/ido.el | |
| parent | 6450412dcf180276752b5f03058d3d0c7fa4ddc7 (diff) | |
| download | emacs-4e3e159bdd5e9434f93b9d5b8d05b3eb54e8fe43.tar.gz | |
* ido.el (ido-unload-function): New function.
Diffstat (limited to 'lisp/ido.el')
| -rw-r--r-- | lisp/ido.el | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lisp/ido.el b/lisp/ido.el index 7a45949f259..7d28b101d35 100644 --- a/lisp/ido.el +++ b/lisp/ido.el @@ -4658,6 +4658,13 @@ DEF, if non-nil, is the default value." (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 |
