branch: elpa/xkcd
commit a55c3f7dcd8cee0ad9223860c4dc85c6f1695229
Author: Vibhav Pant <[email protected]>
Commit: Vibhav Pant <[email protected]>
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))