From 230aef77c20843d1c73db82c8745e6401987681c Mon Sep 17 00:00:00 2001 From: tastytea Date: Mon, 15 Mar 2021 04:15:21 +0100 Subject: [PATCH] dd description for (my/html-paragraphify-buffer). --- init.d/text/web.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init.d/text/web.el b/init.d/text/web.el index 639b6e2..1be3d36 100644 --- a/init.d/text/web.el +++ b/init.d/text/web.el @@ -28,9 +28,10 @@ (message "No active region"))) (defun my/html-paragraphify-buffer () + "Wrap every line not beginning with < or a newline in

tags." (interactive) (goto-char (point-min)) - (while (re-search-forward "^\\([^<$ + (while (re-search-forward "^\\([^< ].+\\)$" nil t) (replace-match "

\\1

")))) :mode (("\\.[ps]?html?$" . web-mode)