From cd9942997e233594e422b8a1a26aa83d05e5af0d Mon Sep 17 00:00:00 2001 From: Holger Dürer Date: Tue, 2 May 2017 20:35:58 +0100 Subject: Don't quote nil. "nil" evaluates to itself so no need to quote it. --- lisp/mastodon-tl.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lisp/mastodon-tl.el') 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) -- cgit v1.2.3