aboutsummaryrefslogtreecommitdiff
path: root/lisp
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:47:30 +0200
commitef6e809f9f16733ed81827afcfe3044bd4aad2ee (patch)
tree975f17dbcb40c1dd60a10f2df5d026f4a64b7c80 /lisp
parentbea7ad1d81f96f3476477758d6dacb3f9c985662 (diff)
optional cd in -set-ce refactor
Diffstat (limited to 'lisp')
-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)