mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Rename synonym/dictionary definition lookup commands
This commit is contained in:
@ -328,7 +328,7 @@ Otherwise, falls back on `find-file-at-point'."
|
|||||||
;;; Dictionary
|
;;; Dictionary
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun +lookup/word-definition (identifier &optional arg)
|
(defun +lookup/dictionary-definition (identifier &optional arg)
|
||||||
"Look up the definition of the word at point (or selection)."
|
"Look up the definition of the word at point (or selection)."
|
||||||
(interactive
|
(interactive
|
||||||
(list (+lookup-symbol-or-region)
|
(list (+lookup-symbol-or-region)
|
||||||
@ -343,7 +343,7 @@ Otherwise, falls back on `find-file-at-point'."
|
|||||||
((user-error "No offline dictionary defined yet"))))
|
((user-error "No offline dictionary defined yet"))))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun +lookup/word-synonyms (identifier &optional arg)
|
(defun +lookup/synonyms (identifier &optional arg)
|
||||||
"Look up and insert a synonym for the word at point (or selection)."
|
"Look up and insert a synonym for the word at point (or selection)."
|
||||||
(interactive
|
(interactive
|
||||||
(list (+lookup-symbol-or-region)
|
(list (+lookup-symbol-or-region)
|
||||||
|
Reference in New Issue
Block a user