aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-toot.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-08-07 20:40:32 +0200
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-08-07 20:40:32 +0200
commit52adc2210f15d89188a8c3cf2bbf07e3849d916c (patch)
treeabc5af8a27bada7aa23afc84d2f15f0e054bd809 /lisp/mastodon-toot.el
parente975ada204591fe4fb35ce055c726256ccf3004b (diff)
optional cd in -set-ce refactor
Diffstat (limited to 'lisp/mastodon-toot.el')
-rw-r--r--lisp/mastodon-toot.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mastodon-toot.el b/lisp/mastodon-toot.el
index 7ff2b78..e5e6ce1 100644
--- a/lisp/mastodon-toot.el
+++ b/lisp/mastodon-toot.el
@@ -365,7 +365,7 @@ NO-REDRAFT means delete toot only."
toot-visibility
toot-cw)))))))))
-(defun mastodon-toot-set-cw (cw)
+(defun mastodon-toot-set-cw (&optional cw)
"Set content warning to CW if it is non-nil"
(unless (equal cw "")
(setq mastodon-toot--content-warning t)