aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolger Dürer <me@hdurer.net>2017-05-02 20:35:58 +0100
committerJohnson Denen <johnson.denen@gmail.com>2017-05-05 15:01:50 -0400
commitcd9942997e233594e422b8a1a26aa83d05e5af0d (patch)
treeb45c8a8438e3633bba2f72d2c7d4158fbc01454b
parenta5005a12a912c97ec31d8ace6f7fc9f31151e7a6 (diff)
Don't quote nil.
"nil" evaluates to itself so no need to quote it.
-rw-r--r--lisp/mastodon-tl.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index 67a452d..9dade6c 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -151,7 +151,7 @@ Return value from boosted content if available."
'toot-json toot)))
(defun mastodon-tl--set-face (string face render)
- "Set the face of a string. If `render' is not 'nil
+ "Set the face of a string. If `render' is not nil
also render the html"
(propertize
(with-temp-buffer
@@ -169,7 +169,7 @@ also render the html"
(message (concat "\n ---------------"
"\n Content Warning"
"\n ---------------\n"))
- (cw (mastodon-tl--set-face message 'success 'nil)))
+ (cw (mastodon-tl--set-face message 'success nil)))
(if (> (length string) 0)
(replace-regexp-in-string "\n\n\n ---------------"
"\n ---------------" (concat string cw))
@@ -183,7 +183,7 @@ also render the html"
(concat "Media_Link:: "
(mastodon-tl--set-face
(cdr (assoc 'preview_url media-preview))
- 'mouse-face 'nil)))
+ 'mouse-face nil)))
media "\n")))
(defun mastodon-tl--content (toot)