aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-toot.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2023-08-27 22:52:11 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2023-08-27 22:54:34 -0400
commit5640de5f2ee5875313e239c0f4237454e027913c (patch)
tree2507fb746c9907c05fbb4d76c4c71154db87a263 /lisp/mastodon-toot.el
parentf646c2d5128db8f64c580c9d1133c7e445840800 (diff)
Misc minor cosmetic changes
Prefer # to quote function names. Remove some redundant `:group` arguments. Properly newline-terminate text files. Fix some ' warnings in docstrings.
Diffstat (limited to 'lisp/mastodon-toot.el')
-rw-r--r--lisp/mastodon-toot.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/mastodon-toot.el b/lisp/mastodon-toot.el
index 8170110..d974e04 100644
--- a/lisp/mastodon-toot.el
+++ b/lisp/mastodon-toot.el
@@ -222,7 +222,7 @@ Takes its form from `window-configuration-to-register'.")
(persist-defvar mastodon-toot-draft-toots-list nil
"A list of toots that have been saved as drafts.
For the moment we just put all composed toots in here, as we want
-to also capture toots that are 'sent' but that don't successfully
+to also capture toots that are \"sent\" but that don't successfully
send.")
@@ -687,7 +687,7 @@ TEXT-ONLY means don't check for attachments or polls."
;;; EMOJIS
(defalias 'mastodon-toot--insert-emoji
- 'emojify-insert-emoji
+ #'emojify-insert-emoji
"Prompt to insert an emoji.")
(defun mastodon-toot--emoji-dir ()
@@ -1623,7 +1623,7 @@ Added to `after-change-functions' in new toot buffers."
mastodon-toot-draft-toots-list
nil t)))
(setq mastodon-toot-draft-toots-list
- (cl-delete draft mastodon-toot-draft-toots-list :test 'equal))
+ (cl-delete draft mastodon-toot-draft-toots-list :test #'equal))
(message "Draft deleted!"))
(message "No drafts to delete.")))
@@ -1773,7 +1773,7 @@ Only text that is not one of these faces will be spell-checked."
(add-hook 'mastodon-toot-mode-hook
(lambda ()
(setq flyspell-generic-check-word-predicate
- 'mastodon-toot-mode-flyspell-verify)))
+ #'mastodon-toot-mode-flyspell-verify)))
;;;###autoload
(add-hook 'mastodon-toot-mode-hook