X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=elisp.git;a=blobdiff_plain;f=selector.el;h=bf9a8529970eee52a4f6b68e36bde64d551beed1;hp=419c96fdb53d427efef28501b2deabc7783cec5f;hb=3435c1b2ecff7b6c318809b9f316a6b3e9ac4a02;hpb=441cfbec35f5863a7ceff69f1f5d3cf75e5a9c34 diff --git a/selector.el b/selector.el index 419c96f..bf9a852 100644 --- a/selector.el +++ b/selector.el @@ -347,6 +347,22 @@ There seems to be header-line refreshing problems with emacs21." (substring s 0 (match-end 0)) 'face 'selector/dim) (substring s (match-end 0))) s) + + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + ;; (if (and (boundp 'selector/previous-filename) selector/previous-filename) + ;; (let ((l (abs (compare-strings + ;; selector/previous-filename nil nil + ;; filename nil nil)))) + ;; ;; (if (> l 0) (setq l + ;; (setq selector/previous-filename filename) + ;; (concat (propertize + ;; (substring s 0 l) 'face 'selector/dim) + ;; (substring s l)) + ;; ) + ;; filename + ;; ) + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + ) ) @@ -383,6 +399,8 @@ prefix argument, allows to edit the filename after selection." (unless (and (boundp recentf-mode) recentf-mode) (error "recentf mode must be turned on")) + ;; (setq selector/previous-filename "") + (selector/select (mapcar