X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=elisp.git;a=blobdiff_plain;f=selector.el;h=528d96dee378e177bd23b102224d848082643fd7;hp=9253f4516c92834da7ac270f4099dc79b5147630;hb=HEAD;hpb=c355ef3a0aae9c170cf15b7617d98973f125d421 diff --git a/selector.el b/selector.el index 9253f45..528d96d 100644 --- a/selector.el +++ b/selector.el @@ -21,8 +21,8 @@ ;; The selector/select function provides a simple interface for ;; selecting an object with on-the-fly pattern matching in a standard ;; buffer (i.e. not in the minibuffer). You can either use it in your -;; own functions or directly use selector/quick-pick-recent or -;; selector/quick-move-in-buffer. +;; own functions or directly use selector/quick-pick-recent, +;; selector/quick-move-in-buffer, or selector/switch-buffer ;; ;; For instance, you can add in your .emacs.el ;; @@ -73,7 +73,7 @@ Otherwise use the mode-line." :type 'hook :group 'selector) -(defcustom selector/quick-pick-recent-filter nil +(defcustom selector/quick-pick-recent-hide-filter nil "Regexp specifying which filenames should be hidden by `selector/quick-pick-recent'" :type 'string :group 'selector) @@ -400,7 +400,7 @@ filename." pattern-matching search implemented in `selector/select'. Without a prefix argument, hide files matching -`selector/quick-pick-recent-filter'. +`selector/quick-pick-recent-hide-filter'. With a prefix argument before the selection of the file per se, permits to edit it before opening." @@ -412,10 +412,10 @@ permits to edit it before opening." (let ((l (mapcar (lambda (s) (cons (selector/filename-to-string s) s)) - (if (and (not universal) selector/quick-pick-recent-filter) + (if (and (not universal) selector/quick-pick-recent-hide-filter) (delq nil (mapcar - (lambda (x) (and (not (string-match selector/quick-pick-recent-filter x)) x)) + (lambda (x) (and (not (string-match selector/quick-pick-recent-hide-filter x)) x)) recentf-list) ) recentf-list