aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2023-08-27 22:46:33 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2023-08-29 15:33:55 -0400
commit1818aeffdc95b099fe22d2b3d444e6cdcdc28b28 (patch)
treee38a44f1d74bbe4b8957a5c1289f6716eda36cf1 /lisp
parentd2a893484d68945f8535d36e7e14081f8c151b5e (diff)
Don't refer to obsolete font-lock face variables
* lisp/mastodon-profile.el (mastodon-profile--update-user-profile-note): * lisp/mastodon-tl.el (mastodon-tl--byline, mastodon-tl--toot-stats): * lisp/mastodon-toot.el (mastodon-toot--view-toot-edits): * lisp/mastodon-views.el (mastodon-views--minor-view): Quote face names.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mastodon-profile.el4
-rw-r--r--lisp/mastodon-tl.el12
-rw-r--r--lisp/mastodon-toot.el4
-rw-r--r--lisp/mastodon-views.el2
4 files changed, 11 insertions, 11 deletions
diff --git a/lisp/mastodon-profile.el b/lisp/mastodon-profile.el
index 658c371..0a3a236 100644
--- a/lisp/mastodon-profile.el
+++ b/lisp/mastodon-profile.el
@@ -250,14 +250,14 @@ NO-REBLOGS means do not display boosts in statuses."
(mastodon-tl--set-buffer-spec (buffer-name buffer) "accounts/verify_credentials" nil)
(setq-local header-line-format
(propertize msg-str
- 'face font-lock-comment-face))
+ 'face 'font-lock-comment-face))
(mastodon-profile-update-mode t)
(insert (propertize (concat (propertize "0"
'note-counter t
'display nil)
"/500 characters")
'read-only t
- 'face font-lock-comment-face
+ 'face 'font-lock-comment-face
'note-header t)
"\n")
(make-local-variable 'after-change-functions)
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index de26853..5f26d82 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -677,7 +677,7 @@ this just means displaying toot client."
(propertize
(format-time-string mastodon-toot-timestamp-format
edited-parsed)
- 'face font-lock-comment-face
+ 'face 'font-lock-comment-face
'timestamp edited-parsed
'display (if mastodon-tl--enable-relative-timestamps
(mastodon-tl--relative-time-description edited-parsed)
@@ -1377,19 +1377,19 @@ To disable showing the stats, customize
'favourited-p (eq 't .favourited)
'favourites-field t
'help-echo (format "%s favourites" .favourites_count)
- 'face font-lock-comment-face)
- (propertize " | " 'face font-lock-comment-face)
+ 'face 'font-lock-comment-face)
+ (propertize " | " 'face 'font-lock-comment-face)
(propertize boosts
'boosted-p (eq 't .reblogged)
'boosts-field t
'help-echo (format "%s boosts" .reblogs_count)
- 'face font-lock-comment-face)
- (propertize " | " 'face font-lock-comment-face)
+ 'face 'font-lock-comment-face)
+ (propertize " | " 'face 'font-lock-comment-face)
(propertize replies
'replies-field t
'replies-count .replies_count
'help-echo (format "%s replies" .replies_count)
- 'face font-lock-comment-face)))
+ 'face 'font-lock-comment-face)))
(status
(concat
(propertize " "
diff --git a/lisp/mastodon-toot.el b/lisp/mastodon-toot.el
index f14aec3..8170110 100644
--- a/lisp/mastodon-toot.el
+++ b/lisp/mastodon-toot.el
@@ -905,7 +905,7 @@ instance to edit a toot."
(insert (propertize (if (= count 1)
(format "%s [original]:\n" count)
(format "%s:\n" count))
- 'face font-lock-comment-face)
+ 'face 'font-lock-comment-face)
(mastodon-toot--insert-toot-iter x)
"\n")
(cl-incf count))
@@ -915,7 +915,7 @@ instance to edit a toot."
(format "Edits to toot by %s:"
(alist-get 'username
(alist-get 'account (car history))))
- 'face font-lock-comment-face))
+ 'face 'font-lock-comment-face))
(mastodon-tl--set-buffer-spec (buffer-name (current-buffer))
(format "statuses/%s/history" id)
nil))))
diff --git a/lisp/mastodon-views.el b/lisp/mastodon-views.el
index 00b9467..ad36664 100644
--- a/lisp/mastodon-views.el
+++ b/lisp/mastodon-views.el
@@ -177,7 +177,7 @@ provides the JSON data."
(if (seq-empty-p data)
(insert (propertize
(format "Looks like you have no %s for now." view-name)
- 'face font-lock-comment-face
+ 'face 'font-lock-comment-face
'byline t
'toot-id "0")) ; so point can move here when no item
(funcall insert-fun data)