[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/mastodon 8c4f18cca7 32/63: toot--insert-emoji: defalis ->
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/mastodon 8c4f18cca7 32/63: toot--insert-emoji: defalis -> defun. |
Date: |
Sun, 4 Aug 2024 04:00:33 -0400 (EDT) |
branch: elpa/mastodon
commit 8c4f18cca757f639aa9c19fc03a92b94c22b9d07
Author: marty hiatt <martianhiatus@riseup.net>
Commit: marty hiatt <martianhiatus@riseup.net>
toot--insert-emoji: defalis -> defun.
the alias is only set on loading, when mastodon-use-emojify may not be set
yet. so we defun it which means it'll check the var whenever it is run.
---
lisp/mastodon-toot.el | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/lisp/mastodon-toot.el b/lisp/mastodon-toot.el
index 4b1e22574b..f07e461eb6 100644
--- a/lisp/mastodon-toot.el
+++ b/lisp/mastodon-toot.el
@@ -762,11 +762,12 @@ TEXT-ONLY means don't check for attachments or polls."
;;; EMOJIS
-(defalias 'mastodon-toot--insert-emoji
+(defun mastodon-toot--insert-emoji ()
+ "Prompt to insert an emoji."
+ (interactive)
(if mastodon-use-emojify
- #'emojify-insert-emoji
- #'emoji-search)
- "Prompt to insert an emoji.")
+ (emojify-insert-emoji)
+ (emoji-search)))
(defun mastodon-toot--emoji-dir ()
"Return the file path for the mastodon custom emojis directory."
- [nongnu] elpa/mastodon 2d4cedbf68 01/63: readme re bookmarks, (continued)
- [nongnu] elpa/mastodon 2d4cedbf68 01/63: readme re bookmarks, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 9b1b08c9b3 02/63: img help echo: cmd keys and toggle sensitive binding, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon aa6b7b25be 18/63: readme re tofu, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 92e1e7b991 03/63: move/rename with-toot-item, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 8f8c461e01 20/63: wrap --thread in with-item macro, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 6e24c36e86 07/63: screenshots, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon f43ecd6bad 06/63: docstring, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 8df12b8808 15/63: update info, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon e9ddf28832 21/63: horiz-bar refactor, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 00ac9103ad 25/63: multisession var in -toot.el, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 8c4f18cca7 32/63: toot--insert-emoji: defalis -> defun.,
ELPA Syncer <=
- [nongnu] elpa/mastodon 3eb1c4f794 41/63: --thread: diff name for option arg to avoid macro var, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 028ab8ea22 43/63: fix newlines accumulating on (un)folding toots, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 134ec9413a 45/63: small adjustments to point placement with (un)folding, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon cf72fb5af0 47/63: bind fold toggle, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon d0a5bae331 50/63: refactor toot--toggle-boost-or-favourite, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon c75c4b7753 60/63: Revert "readme: multisession", ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 1887a2d414 11/63: readme: multisession, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon a9c6c04ac6 09/63: comments on mastodon-tl--goto-item-pos, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 4d335d45f4 16/63: index, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon a7fec25557 17/63: Merge branch 'multisession' into develop, ELPA Syncer, 2024/08/04