From 2799c604622af8e339780c57e03d049b262772bf Mon Sep 17 00:00:00 2001 From: Ivan Sokolov Date: Sun, 20 Nov 2022 07:21:20 +0300 Subject: [PATCH] Update prolog-insert-comment-block --- pceprolog/pceprolog.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pceprolog/pceprolog.html b/pceprolog/pceprolog.html index f0e07b0..b415ed2 100644 --- a/pceprolog/pceprolog.html +++ b/pceprolog/pceprolog.html @@ -88,8 +88,7 @@ (defun prolog-insert-comment-block () "Insert a PceEmacs-style comment block like /* - - ... - - */ " (interactive) - (let ((dashes "-")) - (dotimes (_ 36) (setq dashes (concat "- " dashes))) + (let ((dashes (string-join (make-list 37 "-") " "))) (insert (format "/* %s\n\n%s */" dashes dashes)) (forward-line -1) (indent-for-tab-command)))