mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
* minibuffer.el (completion-table-case-fold): New function for
creating a case-insensitive completion table.
This commit is contained in:
parent
563790b6db
commit
e2784c8718
2 changed files with 9 additions and 0 deletions
|
|
@ -1,3 +1,8 @@
|
|||
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
|
||||
|
|
|
|||
|
|
@ -196,6 +196,10 @@ You should give VAR a non-nil `risky-local-variable' property."
|
|||
(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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue