Fix “malformed function” errors.

Had to wrap them in a `progn` instead of just brackets.
This commit is contained in:
tastytea 2021-04-21 17:27:38 +02:00
parent d14683785a
commit cf0574fd23
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 3 additions and 2 deletions

View File

@ -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"))))