From 7afc05e921edae9c2d246328fbbeeb7702a51634 Mon Sep 17 00:00:00 2001 From: j4nk Date: Mon, 10 Jul 2023 09:29:05 -0400 Subject: [PATCH] Fixed a thing where the right buffer wasn't selected... --- md4tj.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/md4tj.el b/md4tj.el index 2a0e8db..0096232 100644 --- a/md4tj.el +++ b/md4tj.el @@ -106,7 +106,7 @@ ((string-match "^@@DIV" line) (md4tj-begin-tag "div" (list (list "class" (nth 1 (split-string line)))))) ((string-match "^@@ENDDIV" line) (md4tj-end-tag "div")) ((string-match "^@@BLOGINSERT" line) (with-current-buffer inbuf (md4tj-blog-html))) - ((string-match "^@@RSSINSERT" line) (md4tj-rss-link-string (concat (md4tj-blog-base-url) "feed.xml"))) + ((string-match "^@@RSSINSERT" line) (md4tj-rss-link-string (concat (with-current-buffer inbuf (save-excursion (md4tj-blog-base-url))) "feed.xml"))) ((and (string-match "^$$.*$$" line) (eq (nth 1 state) 'normal)) ;; LaTeX formula (shell-command (concat "./pnglatex" " -d 300"