creating a case-insensitive completion table.
+2011-02-12 Tassilo Horn <tassilo@member.fsf.org>
+
+ * minibuffer.el (completion-table-case-fold): New function for
+ creating a case-insensitive completion table.
+
2011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
* net/tramp.el (tramp-default-method): Also check if
(setq ,var (,fun)))
,var))))
+(defun completion-table-case-fold (table string pred action)
+ (let ((completion-ignore-case t))
+ (complete-with-action action table string pred)))
+
(defun completion-table-with-context (prefix table string pred action)
;; TODO: add `suffix' maybe?
;; Notice that `pred' may not be a function in some abusive cases.