From eb923ab475394069b3d0bcb6343bf7aa4d108d6a Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sat, 4 Jul 2026 10:47:16 -0500 Subject: 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. --- modules/markdown-config.el | 4 +--- 1 file changed, 1 insertion(+), 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) -- cgit v1.2.3