diff options
author | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2022-08-07 20:40:32 +0200 |
---|---|---|
committer | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2022-08-07 20:47:30 +0200 |
commit | ef6e809f9f16733ed81827afcfe3044bd4aad2ee (patch) | |
tree | 975f17dbcb40c1dd60a10f2df5d026f4a64b7c80 /lisp/mastodon-toot.el | |
parent | bea7ad1d81f96f3476477758d6dacb3f9c985662 (diff) |
optional cd in -set-ce refactor
Diffstat (limited to 'lisp/mastodon-toot.el')
-rw-r--r-- | lisp/mastodon-toot.el | 2 |
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) |