Trim candidate list of *things*

This commit is contained in:
Lars Tveito 2019-12-04 16:34:11 +01:00
parent d5631db0b6
commit cbba87b062

View File

@ -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))))