From cf0574fd23f6f03cc4e320d879b3121ba0a855a1 Mon Sep 17 00:00:00 2001 From: tastytea Date: Wed, 21 Apr 2021 17:27:38 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20=E2=80=9Cmalformed=20function=E2=80=9D=20?= =?UTF-8?q?errors.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Had to wrap them in a `progn` instead of just brackets. --- init.d/text/web.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/init.d/text/web.el b/init.d/text/web.el index 0253659..6bde2b3 100644 --- a/init.d/text/web.el +++ b/init.d/text/web.el @@ -17,9 +17,10 @@ (use-package web-mode :custom (web-mode-markup-indent-offset 2) ; Default indentation level. - :config ((defun my/html-surround-with-tag (beg end) + :config (progn + (defun my/html-surround-with-tag (beg end) "Surround region with HTML tag." - (interactive "*r") + (interactive "r") (if (region-active-p) (let ((tag (completing-read "Tag: " '("blockquote" "em" "strong"))))