-
-
Notifications
You must be signed in to change notification settings - Fork 338
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ivy.el (ivy-sort-file-function-default): Use cached directory-file-name. (ivy--string-search, ivy--string-replace): New polyfills. (xor): Copy autoload from Counsel for later transition. (ivy--sorted-files): Limit scope of condition-case and default-directory. Consolidate multiple file list passes into a single mapcan. Use substring rather than regexp, and destructive, operations when applicable. Avoid unnecessary propertize copies. Use prefixed text property name. Ensure '.' and '..' are removed even when falling back to directory-files. (ivy--update-prompt, ivy--quote-format-string, ivy-completing-read) (ivy--split-negation, ivy--magic-file-slash) (ivy--update-minibuffer, ivy--filter): Use string rather than regexp operations. (ivy--switch-buffer-matcher): Ditto. Don't assume cl-remove returns a copy; use copy-sequence + cl-delete instead. (ivy-re-match, ivy--prefix-sort, ivy-sort-function-buffer) (ivy-occur-press): Simplify. (ivy--split): Prefer \s over invisible \ . (ivy--regex): Replace regexp with fixed case. (ivy--positive-regexps): New function. (ivy--highlight-default): Use it. (ivy--action-insert): Remove no-op copypasta.
- Loading branch information
1 parent
9180550
commit 491a928
Showing
1 changed file
with
102 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters