1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Fix an unbound variable in html skeletons

* lisp/skeleton.el (skeleton-internal-list): Fix an unbound
variable in html skeletons (bug#44157).
This commit is contained in:
Stephen Berman 2020-10-26 22:21:07 +01:00 committed by Lars Ingebrigtsen
parent c7a3bd9b56
commit e7009a6dc2

View file

@ -339,7 +339,8 @@ automatically, and you are prompted to fill in the variable parts.")))
(dlet ((str (or str
`(setq str
(skeleton-read ',(car skeleton-il)
nil ,recursive)))))
nil ,recursive))))
resume:)
(when (and (eq (cadr skeleton-il) '\n) (not recursive)
(save-excursion (skip-chars-backward " \t") (bolp)))
(setq skeleton-il (cons nil (cons '> (cddr skeleton-il)))))