Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 22 lines (19 sloc) 0.648 kb
6fc62a0 @tavisrudd miscellaneous tweaks and refactoring
authored
1 (require 'dss-paths)
2 (require 'smex)
3
4 ;; (dss/smex "^dss/moz" "")
5 (defun dss/smex (&optional filter initial-input)
6 (interactive)
7 (let* ((filter (or filter "^dss/"))
8 (initial-input (or initial-input "dss/")))
9 (smex-read-and-run
10 (remq nil (mapcar (lambda (symbol-name)
11 (if (string-match-p filter symbol-name)
12 symbol-name
13 nil))
14 smex-ido-cache))
15 initial-input)))
16
17 (setq smex-save-file (concat dss-ephemeral-dir "smex.save"))
18 (setq smex-history-length 10)
dea9f57 @tavisrudd reenable flex matching
authored
19 (setq smex-flex-matching t)
6fc62a0 @tavisrudd miscellaneous tweaks and refactoring
authored
20 (smex-initialize)
21 (provide 'dss-smex)
Something went wrong with that request. Please try again.