mirror of
https://github.com/larstvei/Focus.git
synced 2024-11-26 03:28:32 +00:00
Trim candidate list of *things*
This commit is contained in:
parent
d5631db0b6
commit
cbba87b062
4
focus.el
4
focus.el
@ -165,9 +165,7 @@ according to major-mode. If `focus-current-thing' is set, this
|
||||
default is overwritten. This function simply helps set the
|
||||
`focus-current-thing'."
|
||||
(interactive)
|
||||
(let* ((candidates '(symbol list sexp defun
|
||||
filename url email word
|
||||
sentence whitespace line page))
|
||||
(let* ((candidates '(defun line list paragraph sentence sexp symbol word))
|
||||
(thing (completing-read "Thing: " candidates)))
|
||||
(setq focus-current-thing (intern thing))))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user