aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2010-12-01 23:40:32 -0800
committerGlenn Morris2010-12-01 23:40:32 -0800
commit0fdd1db7fd278b6ac13f2f2709940b04e16a492c (patch)
tree0925a3ef52c9b996b3a50709eb7ff44842cea7da
parent2a91a0b5c0d208696fc327373bc4d37fd376c59c (diff)
downloademacs-0fdd1db7fd278b6ac13f2f2709940b04e16a492c.tar.gz
emacs-0fdd1db7fd278b6ac13f2f2709940b04e16a492c.zip
That's not how you spell "initialization".
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/ido.el6
2 files changed, 4 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 1985193af03..f6514c16577 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -15,7 +15,7 @@
15 15
162010-12-01 Leo <sdl.web@gmail.com> 162010-12-01 Leo <sdl.web@gmail.com>
17 17
18 * ido.el (ido-common-initilization): New function. (bug#3274) 18 * ido.el (ido-common-initialization): New function. (bug#3274)
19 (ido-mode): Use it. 19 (ido-mode): Use it.
20 (ido-completing-read): Call it. 20 (ido-completing-read): Call it.
21 21
diff --git a/lisp/ido.el b/lisp/ido.el
index ee8bd4961db..52661d9cf49 100644
--- a/lisp/ido.el
+++ b/lisp/ido.el
@@ -1439,7 +1439,7 @@ Removes badly formatted data and ignored directories."
1439 ;; ido kill emacs hook 1439 ;; ido kill emacs hook
1440 (ido-save-history)) 1440 (ido-save-history))
1441 1441
1442(defun ido-common-initilization () 1442(defun ido-common-initialization ()
1443 (ido-init-completion-maps) 1443 (ido-init-completion-maps)
1444 (add-hook 'minibuffer-setup-hook 'ido-minibuffer-setup) 1444 (add-hook 'minibuffer-setup-hook 'ido-minibuffer-setup)
1445 (add-hook 'choose-completion-string-functions 'ido-choose-completion-string)) 1445 (add-hook 'choose-completion-string-functions 'ido-choose-completion-string))
@@ -1489,7 +1489,7 @@ This function also adds a hook to the minibuffer."
1489 (ido-everywhere (if ido-everywhere 1 -1)) 1489 (ido-everywhere (if ido-everywhere 1 -1))
1490 1490
1491 (when ido-mode 1491 (when ido-mode
1492 (ido-common-initilization) 1492 (ido-common-initialization)
1493 (ido-load-history) 1493 (ido-load-history)
1494 1494
1495 (add-hook 'kill-emacs-hook 'ido-kill-emacs-hook) 1495 (add-hook 'kill-emacs-hook 'ido-kill-emacs-hook)
@@ -4682,7 +4682,7 @@ DEF, if non-nil, is the default value."
4682 (ido-context-switch-command 'ignore) 4682 (ido-context-switch-command 'ignore)
4683 (ido-choice-list choices)) 4683 (ido-choice-list choices))
4684 ;; Initialize ido before invoking ido-read-internal 4684 ;; Initialize ido before invoking ido-read-internal
4685 (ido-common-initilization) 4685 (ido-common-initialization)
4686 (ido-read-internal 'list prompt hist def require-match initial-input))) 4686 (ido-read-internal 'list prompt hist def require-match initial-input)))
4687 4687
4688(defun ido-unload-function () 4688(defun ido-unload-function ()