diff options
| author | Juanma Barranquero | 2006-11-08 09:46:30 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2006-11-08 09:46:30 +0000 |
| commit | a09e21bfbd21a0b674acd0b799d6ec369fd383e1 (patch) | |
| tree | 0a0c66272b6ffb74e7bbb58eb384eb049662448d | |
| parent | c5a31d8b6f0ffd1087367389f7e19bcb0b2c0ddd (diff) | |
| download | emacs-a09e21bfbd21a0b674acd0b799d6ec369fd383e1.tar.gz emacs-a09e21bfbd21a0b674acd0b799d6ec369fd383e1.zip | |
(ido-ignore-extensions, ido-show-dot-for-dired, ido-max-dir-file-cache,
ido-decorations, ido-rewrite-file-prompt-functions, ido-use-mycompletion-depth,
ido-magic-backward-char, ido-enter-dired, ido-enter-insert-buffer,
ido-enter-insert-file, ido-dired, ido-list-directory, ido-first-match,
ido-only-match, ido-subdir, ido-indicator): Fix typos in docstrings.
(ido-buffer-internal, ido-completion-help): Fix typos in messages.
(ido-read-internal): Fix typo in error message.
| -rw-r--r-- | lisp/ido.el | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/lisp/ido.el b/lisp/ido.el index 480b76cd68c..933177f5f22 100644 --- a/lisp/ido.el +++ b/lisp/ido.el | |||
| @@ -404,13 +404,13 @@ example functions that filter filenames." | |||
| 404 | :group 'ido) | 404 | :group 'ido) |
| 405 | 405 | ||
| 406 | (defcustom ido-ignore-extensions t | 406 | (defcustom ido-ignore-extensions t |
| 407 | "*Non-nil means ignore files in completion-ignored-extensions list." | 407 | "*Non-nil means ignore files in `completion-ignored-extensions' list." |
| 408 | :type 'boolean | 408 | :type 'boolean |
| 409 | :group 'ido) | 409 | :group 'ido) |
| 410 | 410 | ||
| 411 | (defcustom ido-show-dot-for-dired nil | 411 | (defcustom ido-show-dot-for-dired nil |
| 412 | "*Non-nil means to always put . as the first item in file name lists. | 412 | "*Non-nil means to always put . as the first item in file name lists. |
| 413 | This allows the current directory to be opened immediate with `dired'." | 413 | This allows the current directory to be opened immediately with `dired'." |
| 414 | :type 'boolean | 414 | :type 'boolean |
| 415 | :group 'ido) | 415 | :group 'ido) |
| 416 | 416 | ||
| @@ -714,7 +714,7 @@ When a (partial) file name matches this regexp, merging is inhibited." | |||
| 714 | 714 | ||
| 715 | (defcustom ido-max-dir-file-cache 100 | 715 | (defcustom ido-max-dir-file-cache 100 |
| 716 | "*Maximum number of working directories to be cached. | 716 | "*Maximum number of working directories to be cached. |
| 717 | This is the size of the cache of file-name-all-completions results. | 717 | This is the size of the cache of `file-name-all-completions' results. |
| 718 | Each cache entry is time stamped with the modification time of the | 718 | Each cache entry is time stamped with the modification time of the |
| 719 | directory. Some systems, like Windows, have unreliable directory | 719 | directory. Some systems, like Windows, have unreliable directory |
| 720 | modification times, so you may choose to disable caching on such | 720 | modification times, so you may choose to disable caching on such |
| @@ -777,7 +777,7 @@ Obsolete. Set 3rd element of `ido-decorations' instead." | |||
| 777 | "*List of strings used by ido to display the alternatives in the minibuffer. | 777 | "*List of strings used by ido to display the alternatives in the minibuffer. |
| 778 | There are 10 elements in this list: | 778 | There are 10 elements in this list: |
| 779 | 1st and 2nd elements are used as brackets around the prospect list, | 779 | 1st and 2nd elements are used as brackets around the prospect list, |
| 780 | 3rd element is the separator between prospects (ignored if ido-separator is set), | 780 | 3rd element is the separator between prospects (ignored if `ido-separator' is set), |
| 781 | 4th element is the string inserted at the end of a truncated list of prospects, | 781 | 4th element is the string inserted at the end of a truncated list of prospects, |
| 782 | 5th and 6th elements are used as brackets around the common match string which | 782 | 5th and 6th elements are used as brackets around the common match string which |
| 783 | can be completed using TAB, | 783 | can be completed using TAB, |
| @@ -795,13 +795,13 @@ subdirs in the alternatives." | |||
| 795 | :group 'ido) | 795 | :group 'ido) |
| 796 | 796 | ||
| 797 | (defface ido-first-match '((t (:bold t))) | 797 | (defface ido-first-match '((t (:bold t))) |
| 798 | "*Font used by ido for highlighting first match." | 798 | "*Face used by ido for highlighting first match." |
| 799 | :group 'ido) | 799 | :group 'ido) |
| 800 | 800 | ||
| 801 | (defface ido-only-match '((((class color)) | 801 | (defface ido-only-match '((((class color)) |
| 802 | (:foreground "ForestGreen")) | 802 | (:foreground "ForestGreen")) |
| 803 | (t (:italic t))) | 803 | (t (:italic t))) |
| 804 | "*Font used by ido for highlighting only match." | 804 | "*Face used by ido for highlighting only match." |
| 805 | :group 'ido) | 805 | :group 'ido) |
| 806 | 806 | ||
| 807 | (defface ido-subdir '((((min-colors 88) (class color)) | 807 | (defface ido-subdir '((((min-colors 88) (class color)) |
| @@ -809,7 +809,7 @@ subdirs in the alternatives." | |||
| 809 | (((class color)) | 809 | (((class color)) |
| 810 | (:foreground "red")) | 810 | (:foreground "red")) |
| 811 | (t (:underline t))) | 811 | (t (:underline t))) |
| 812 | "*Font used by ido for highlighting subdirs in the alternatives." | 812 | "*Face used by ido for highlighting subdirs in the alternatives." |
| 813 | :group 'ido) | 813 | :group 'ido) |
| 814 | 814 | ||
| 815 | (defface ido-indicator '((((min-colors 88) (class color)) | 815 | (defface ido-indicator '((((min-colors 88) (class color)) |
| @@ -821,7 +821,7 @@ subdirs in the alternatives." | |||
| 821 | :background "red" | 821 | :background "red" |
| 822 | :width condensed)) | 822 | :width condensed)) |
| 823 | (t (:inverse-video t))) | 823 | (t (:inverse-video t))) |
| 824 | "*Font used by ido for highlighting its indicators." | 824 | "*Face used by ido for highlighting its indicators." |
| 825 | :group 'ido) | 825 | :group 'ido) |
| 826 | 826 | ||
| 827 | (defface ido-incomplete-regexp | 827 | (defface ido-incomplete-regexp |
| @@ -864,7 +864,7 @@ variables: | |||
| 864 | prefix - either nil or a fixed prefix for the dirname | 864 | prefix - either nil or a fixed prefix for the dirname |
| 865 | 865 | ||
| 866 | The following variables are available, but should not be changed: | 866 | The following variables are available, but should not be changed: |
| 867 | ido-current-directory - the unabbreviated directory name | 867 | `ido-current-directory' - the unabbreviated directory name |
| 868 | item - equals `file' or `dir' depending on the current mode." | 868 | item - equals `file' or `dir' depending on the current mode." |
| 869 | :type 'hook | 869 | :type 'hook |
| 870 | :group 'ido) | 870 | :group 'ido) |
| @@ -1034,8 +1034,8 @@ selected.") | |||
| 1034 | 1034 | ||
| 1035 | (defvar ido-use-mycompletion-depth 0 | 1035 | (defvar ido-use-mycompletion-depth 0 |
| 1036 | "Non-nil means use `ido' completion feedback. | 1036 | "Non-nil means use `ido' completion feedback. |
| 1037 | Is set by ido functions to the current minibuffer-depth, so that | 1037 | Is set by ido functions to the current `minibuffer-depth', |
| 1038 | it doesn't interfere with other minibuffer usage.") | 1038 | so that it doesn't interfere with other minibuffer usage.") |
| 1039 | 1039 | ||
| 1040 | (defvar ido-incomplete-regexp nil | 1040 | (defvar ido-incomplete-regexp nil |
| 1041 | "Non-nil if an incomplete regexp is entered.") | 1041 | "Non-nil if an incomplete regexp is entered.") |
| @@ -2044,7 +2044,7 @@ If INITIAL is non-nil, it specifies the initial input string." | |||
| 2044 | (not (if ido-directory-too-big | 2044 | (not (if ido-directory-too-big |
| 2045 | (file-exists-p (concat ido-current-directory ido-final-text)) | 2045 | (file-exists-p (concat ido-current-directory ido-final-text)) |
| 2046 | (ido-existing-item-p)))) | 2046 | (ido-existing-item-p)))) |
| 2047 | (error "must specify valid item")) | 2047 | (error "Must specify valid item")) |
| 2048 | 2048 | ||
| 2049 | (t | 2049 | (t |
| 2050 | (setq ido-selected | 2050 | (setq ido-selected |
| @@ -2163,7 +2163,7 @@ If INITIAL is non-nil, it specifies the initial input string." | |||
| 2163 | 2163 | ||
| 2164 | ;; buffer doesn't exist | 2164 | ;; buffer doesn't exist |
| 2165 | ((eq ido-create-new-buffer 'never) | 2165 | ((eq ido-create-new-buffer 'never) |
| 2166 | (message "no buffer matching `%s'" buf)) | 2166 | (message "No buffer matching `%s'" buf)) |
| 2167 | 2167 | ||
| 2168 | ((and (eq ido-create-new-buffer 'prompt) | 2168 | ((and (eq ido-create-new-buffer 'prompt) |
| 2169 | (not (y-or-n-p (format "No buffer matching `%s', create one? " buf)))) | 2169 | (not (y-or-n-p (format "No buffer matching `%s', create one? " buf)))) |
| @@ -2521,10 +2521,10 @@ C-x d ... C-f fallback to non-ido dired." | |||
| 2521 | (defun ido-magic-backward-char () | 2521 | (defun ido-magic-backward-char () |
| 2522 | "Move backward in user input or perform magic action. | 2522 | "Move backward in user input or perform magic action. |
| 2523 | If no user input is present, or at start of input, perform magic actions: | 2523 | If no user input is present, or at start of input, perform magic actions: |
| 2524 | C-x C-f C-b switch to ido-switch-buffer. | 2524 | C-x C-f C-b switch to `ido-switch-buffer'. |
| 2525 | C-x C-d C-b switch to ido-switch-buffer. | 2525 | C-x C-d C-b switch to `ido-switch-buffer'. |
| 2526 | C-x d C-b switch to ido-switch-buffer. | 2526 | C-x d C-b switch to `ido-switch-buffer'. |
| 2527 | C-x C-b C-b fallback to non-ido switch-to-buffer." | 2527 | C-x C-b C-b fallback to non-ido `switch-to-buffer'." |
| 2528 | (interactive) | 2528 | (interactive) |
| 2529 | (cond | 2529 | (cond |
| 2530 | ((> (point) (minibuffer-prompt-end)) | 2530 | ((> (point) (minibuffer-prompt-end)) |
| @@ -2658,19 +2658,19 @@ If no buffer or file exactly matching the prompt exists, maybe create a new one. | |||
| 2658 | (exit-minibuffer)) | 2658 | (exit-minibuffer)) |
| 2659 | 2659 | ||
| 2660 | (defun ido-enter-dired () | 2660 | (defun ido-enter-dired () |
| 2661 | "Drop into dired from file switching." | 2661 | "Drop into `dired' from file switching." |
| 2662 | (interactive) | 2662 | (interactive) |
| 2663 | (setq ido-exit 'dired) | 2663 | (setq ido-exit 'dired) |
| 2664 | (exit-minibuffer)) | 2664 | (exit-minibuffer)) |
| 2665 | 2665 | ||
| 2666 | (defun ido-enter-insert-buffer () | 2666 | (defun ido-enter-insert-buffer () |
| 2667 | "Drop into insert buffer from insert file." | 2667 | "Drop into `insert-buffer' from insert file." |
| 2668 | (interactive) | 2668 | (interactive) |
| 2669 | (setq ido-exit 'insert-buffer) | 2669 | (setq ido-exit 'insert-buffer) |
| 2670 | (exit-minibuffer)) | 2670 | (exit-minibuffer)) |
| 2671 | 2671 | ||
| 2672 | (defun ido-enter-insert-file () | 2672 | (defun ido-enter-insert-file () |
| 2673 | "Drop into insert file from insert buffer." | 2673 | "Drop into `insert-file' from insert buffer." |
| 2674 | (interactive) | 2674 | (interactive) |
| 2675 | (setq ido-exit 'insert-file) | 2675 | (setq ido-exit 'insert-file) |
| 2676 | (exit-minibuffer)) | 2676 | (exit-minibuffer)) |
| @@ -3742,7 +3742,7 @@ for first matching file." | |||
| 3742 | (funcall f completion-list | 3742 | (funcall f completion-list |
| 3743 | :help-string "ido " | 3743 | :help-string "ido " |
| 3744 | :activate-callback | 3744 | :activate-callback |
| 3745 | '(lambda (x y z) (message "doesn't work yet, sorry!")))) | 3745 | '(lambda (x y z) (message "Doesn't work yet, sorry!")))) |
| 3746 | ;; else running Emacs | 3746 | ;; else running Emacs |
| 3747 | ;;(add-hook 'completion-setup-hook 'completion-setup-function) | 3747 | ;;(add-hook 'completion-setup-hook 'completion-setup-function) |
| 3748 | (display-completion-list completion-list))))))) | 3748 | (display-completion-list completion-list))))))) |
| @@ -4053,7 +4053,7 @@ For details of keybindings, do `\\[describe-function] ido-find-file'." | |||
| 4053 | 4053 | ||
| 4054 | ;;;###autoload | 4054 | ;;;###autoload |
| 4055 | (defun ido-dired () | 4055 | (defun ido-dired () |
| 4056 | "Call dired the ido way. | 4056 | "Call `dired' the ido way. |
| 4057 | The directory is selected interactively by typing a substring. | 4057 | The directory is selected interactively by typing a substring. |
| 4058 | For details of keybindings, do `\\[describe-function] ido-find-file'." | 4058 | For details of keybindings, do `\\[describe-function] ido-find-file'." |
| 4059 | (interactive) | 4059 | (interactive) |
| @@ -4062,7 +4062,7 @@ For details of keybindings, do `\\[describe-function] ido-find-file'." | |||
| 4062 | (ido-file-internal 'dired 'dired nil "Dired: " 'dir))) | 4062 | (ido-file-internal 'dired 'dired nil "Dired: " 'dir))) |
| 4063 | 4063 | ||
| 4064 | (defun ido-list-directory () | 4064 | (defun ido-list-directory () |
| 4065 | "Call list-directory the ido way. | 4065 | "Call `list-directory' the ido way. |
| 4066 | The directory is selected interactively by typing a substring. | 4066 | The directory is selected interactively by typing a substring. |
| 4067 | For details of keybindings, do `\\[describe-function] ido-find-file'." | 4067 | For details of keybindings, do `\\[describe-function] ido-find-file'." |
| 4068 | (interactive) | 4068 | (interactive) |