aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2006-09-23 18:39:22 +0000
committerChong Yidong2006-09-23 18:39:22 +0000
commit397e713bc5360c1b807bd8874b2f356572cba8eb (patch)
tree0281f1382d2ccb919811e4816e7fe295d4d92c43
parentbf6a82f12e9ec88799bc4625f4bc1fc58f0e26c7 (diff)
downloademacs-397e713bc5360c1b807bd8874b2f356572cba8eb.tar.gz
emacs-397e713bc5360c1b807bd8874b2f356572cba8eb.zip
2006-09-23 Ken Manheimer <ken.manheimer@gmail.com>
* icomplete.el (icomplete-with-completion-tables): List of specialized completion tables with which icomplete should operate. Include the new `internal-complete-buffer', so icomplete works with interactive buffer-selection. (icomplete-simple-completing-p): Add acceptance of specialized completion tables listed in icomplete-with-completion-tables.
-rw-r--r--lisp/ChangeLog9
-rw-r--r--lisp/icomplete.el12
2 files changed, 19 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index ae7325d6a92..f279fe624fc 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,12 @@
12006-09-23 Ken Manheimer <ken.manheimer@gmail.com>
2
3 * icomplete.el (icomplete-with-completion-tables): List of
4 specialized completion tables with which icomplete should
5 operate. Include the new `internal-complete-buffer', so icomplete
6 works with interactive buffer-selection.
7 (icomplete-simple-completing-p): Add acceptance of specialized
8 completion tables listed in icomplete-with-completion-tables.
9
12006-09-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 102006-09-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2 11
3 * frame.el (focus-follows-mouse): Set default to nil on Mac. 12 * frame.el (focus-follows-mouse): Set default to nil on Mac.
diff --git a/lisp/icomplete.el b/lisp/icomplete.el
index f53ef7c91d1..5d1d6eb37a9 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
164Icomplete does not operate with any specialized completion tables
165except 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-for-completion-tables))))
189 196
190;;;_ > icomplete-minibuffer-setup () 197;;;_ > icomplete-minibuffer-setup ()
191(defun icomplete-minibuffer-setup () 198(defun icomplete-minibuffer-setup ()
@@ -326,6 +333,7 @@ are exhibited within the square braces.)"
326;;;_* Local emacs vars. 333;;;_* Local emacs vars.
327;;;Local variables: 334;;;Local variables:
328;;;allout-layout: (-2 :) 335;;;allout-layout: (-2 :)
336;;;allout-widgets-mode-inhibit: t
329;;;End: 337;;;End:
330 338
331;; arch-tag: 339ec25a-0741-4eb6-be63-997532e89b0f 339;; arch-tag: 339ec25a-0741-4eb6-be63-997532e89b0f