diff options
| author | Juanma Barranquero | 2008-09-09 14:00:58 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2008-09-09 14:00:58 +0000 |
| commit | 4e3e159bdd5e9434f93b9d5b8d05b3eb54e8fe43 (patch) | |
| tree | 8ca07bf171273f6c367f9d2674e541d69544a698 | |
| parent | 6450412dcf180276752b5f03058d3d0c7fa4ddc7 (diff) | |
| download | emacs-4e3e159bdd5e9434f93b9d5b8d05b3eb54e8fe43.tar.gz emacs-4e3e159bdd5e9434f93b9d5b8d05b3eb54e8fe43.zip | |
* ido.el (ido-unload-function): New function.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/ido.el | 7 |
2 files changed, 11 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 281d334416d..b40dbf7a27c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2008-09-09 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * ido.el (ido-unload-function): New function. | ||
| 4 | |||
| 1 | 2008-09-08 Juanma Barranquero <lekktu@gmail.com> | 5 | 2008-09-08 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 6 | ||
| 3 | * ido.el (ido-file-internal): Fix typo in prompt. | 7 | * ido.el (ido-file-internal): Fix typo in prompt. |
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." | |||
| 4658 | (ido-choice-list choices)) | 4658 | (ido-choice-list choices)) |
| 4659 | (ido-read-internal 'list prompt hist def require-match initial-input))) | 4659 | (ido-read-internal 'list prompt hist def require-match initial-input))) |
| 4660 | 4660 | ||
| 4661 | (defun ido-unload-function () | ||
| 4662 | "Unload the Ido library." | ||
| 4663 | (ido-mode -1) | ||
| 4664 | (setq minor-mode-map-alist (assq-delete-all 'ido-mode minor-mode-map-alist)) | ||
| 4665 | ;; continue standard unloading | ||
| 4666 | nil) | ||
| 4667 | |||
| 4661 | (provide 'ido) | 4668 | (provide 'ido) |
| 4662 | 4669 | ||
| 4663 | ;; arch-tag: b63a3500-1735-41bd-8a01-05373f0864da | 4670 | ;; arch-tag: b63a3500-1735-41bd-8a01-05373f0864da |