emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/xkcd a55c3f7dcd 75/82: Add faces to comic title.


From: ELPA Syncer
Subject: [nongnu] elpa/xkcd a55c3f7dcd 75/82: Add faces to comic title.
Date: Mon, 12 Dec 2022 21:59:56 -0500 (EST)

branch: elpa/xkcd
commit a55c3f7dcd8cee0ad9223860c4dc85c6f1695229
Author: Vibhav Pant <vibhavp@gmail.com>
Commit: Vibhav Pant <vibhavp@gmail.com>

    Add faces to comic title.
---
 xkcd.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/xkcd.el b/xkcd.el
index 7df771d276..f8192e0ec8 100644
--- a/xkcd.el
+++ b/xkcd.el
@@ -164,7 +164,10 @@ If the image is a gif, animate it."
       (message "Getting comic...")
       (setq file (xkcd-download img num))
       (setq title (format "%d: %s" num safe-title))
-      (insert title "\n")
+      (insert (propertize title
+                         'face '(:weight bold :height 110)))
+      (center-line)
+      (insert "\n")
       (xkcd-insert-image file num)
       (if (eq xkcd-cur 0)
           (setq xkcd-cur num))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]