diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2017-11-07 12:10:51 -0500 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2017-11-07 12:10:51 -0500 |
commit | 12c39211b38f641a72eb15c8f046df24d8acc4c3 (patch) | |
tree | 2850bd098d99389e76722c72ec7d325efa36fde3 /lisp/emacs-lisp | |
parent | 1f3f4b1296613b8cdc0632a68fde86e86ddad866 (diff) | |
download | emacs-12c39211b38f641a72eb15c8f046df24d8acc4c3.tar.gz emacs-12c39211b38f641a72eb15c8f046df24d8acc4c3.tar.bz2 emacs-12c39211b38f641a72eb15c8f046df24d8acc4c3.zip |
* lisp/filecache.el: Use lexical-binding. Simplify.
Remove redundant :group args, use with-tmep-buffer and let
completion-all-completions do its work.
(file-cache-minibuffer-complete): Skip `completion-hilit-commonality`
since `completion-all-completions' already hilighted its output.
Call our setup function directly rather than via `completion-setup-hook`.
(file-cache-buffer): Remove variable.
(file-cache-buffer-default-regexp): Make it a defvar.
(file-cache--add-from-buffer): Rename from
file-cache-add-from-file-cache-buffer and use current-buffer and
match-string-no-properties.
(file-cache-add-directory-using-find)
(file-cache-add-directory-using-locate): Adjust accordingly and use
with-temp-buffer.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions