diff options
author | mousebot <mousebot@riseup.net> | 2022-03-18 10:05:56 +0100 |
---|---|---|
committer | mousebot <mousebot@riseup.net> | 2022-03-18 10:16:11 +0100 |
commit | db2d0aed887c072e1a100ee54205091e1f2d981c (patch) | |
tree | 5905b016a8a7815de17303c515367182bf60452b /lisp | |
parent | 722fe98364621673c06b48a2ee3ccbc25cf0fcc4 (diff) |
remove require test for --translate-toot-text
we already have the same test for declaring lingva-translate fun, so this
shouldn't be needed and seems to prevent our fun from loading.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/mastodon-toot.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/mastodon-toot.el b/lisp/mastodon-toot.el index 76d7d41..780e726 100644 --- a/lisp/mastodon-toot.el +++ b/lisp/mastodon-toot.el @@ -283,7 +283,7 @@ Makes a POST request to the server." (kill-new (mastodon-tl--content toot)) (message "Toot content copied to the clipboard."))) -(when (require 'lingva nil :no-error) +;; (when (require 'lingva nil :no-error) (defun mastodon-toot--translate-toot-text () "Translate text of toot at point. Uses `lingva.el'." @@ -293,7 +293,7 @@ Uses `lingva.el'." (if toot (lingva-translate nil (mastodon-tl--content toot)) (message "No toot to translate?"))) - (message "No mastodon buffer?")))) + (message "No mastodon buffer?"))) (defun mastodon-toot--own-toot-p (toot) "Check if TOOT is user's own, e.g. for deleting it." |