diff options
Diffstat (limited to 'lisp/icomplete.el')
| -rw-r--r-- | lisp/icomplete.el | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/lisp/icomplete.el b/lisp/icomplete.el index f53ef7c91d1..6687c13275b 100644 --- a/lisp/icomplete.el +++ b/lisp/icomplete.el | |||
| @@ -157,6 +157,12 @@ is minibuffer." | |||
| 157 | (< (length x) (length y)))) | 157 | (< (length x) (length y)))) |
| 158 | ", ") | 158 | ", ") |
| 159 | ">")))))) | 159 | ">")))))) |
| 160 | ;;;_ = icomplete-with-completion-tables | ||
| 161 | (defvar icomplete-with-completion-tables '(internal-complete-buffer) | ||
| 162 | "Specialized completion tables with which icomplete should operate. | ||
| 163 | |||
| 164 | Icomplete does not operate with any specialized completion tables | ||
| 165 | except those on this list.") | ||
| 160 | 166 | ||
| 161 | ;;;_ > icomplete-mode (&optional prefix) | 167 | ;;;_ > icomplete-mode (&optional prefix) |
| 162 | ;;;###autoload | 168 | ;;;###autoload |
| @@ -184,8 +190,9 @@ Conditions are: | |||
| 184 | (and (window-minibuffer-p (selected-window)) | 190 | (and (window-minibuffer-p (selected-window)) |
| 185 | (not executing-kbd-macro) | 191 | (not executing-kbd-macro) |
| 186 | minibuffer-completion-table | 192 | minibuffer-completion-table |
| 187 | ;; (or minibuffer-completing-file-name | 193 | (or (not (functionp minibuffer-completion-table)) |
| 188 | (not (functionp minibuffer-completion-table)))) ;; ) | 194 | (member minibuffer-completion-table |
| 195 | icomplete-with-completion-tables)))) | ||
| 189 | 196 | ||
| 190 | ;;;_ > icomplete-minibuffer-setup () | 197 | ;;;_ > icomplete-minibuffer-setup () |
| 191 | (defun icomplete-minibuffer-setup () | 198 | (defun icomplete-minibuffer-setup () |