aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-07-04 10:47:16 -0500
committerCraig Jennings <c@cjennings.net>2026-07-04 10:47:16 -0500
commiteb923ab475394069b3d0bcb6343bf7aa4d108d6a (patch)
treeb4ca854dce1df1c7c7de983c299901e502e7bb4d
parentd235c1fc4017e364d897f4c7f1112f529ab2f65f (diff)
downloaddotemacs-eb923ab475394069b3d0bcb6343bf7aa4d108d6a.tar.gz
dotemacs-eb923ab475394069b3d0bcb6343bf7aa4d108d6a.zip
fix(markdown): drop obsolete user-error note from preview docstring
cj/markdown-preview already autostarts the httpd listener, but the docstring still described the old separate-start design that signaled a user-error. The regression test matches the whole function object, so the stale note tripped it.
-rw-r--r--modules/markdown-config.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/markdown-config.el b/modules/markdown-config.el
index d2cd7f86..815bb3fb 100644
--- a/modules/markdown-config.el
+++ b/modules/markdown-config.el
@@ -60,9 +60,7 @@ Idempotent: re-running while the server is already up is a no-op."
;; the filter to apply to markdown before impatient-mode pushes it to the server
(defun cj/markdown-preview ()
"Open the current buffer as a live HTML preview at http://localhost:8080/imp.
-Starts the simple-httpd listener itself when it isn't already running
-\(per the 2026-07-01 decision; the earlier separate-start design
-signaled a `user-error' instead)."
+Starts the simple-httpd listener automatically when it isn't already running."
(interactive)
(cj/--markdown-preview-ensure-server)
(impatient-mode 1)