1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-06 06:20:55 -08:00

Fix bootstrap errors after previous easy-mmode change

* lisp/subr.el (ensure-empty-lines, string-lines): Moved from
subr-x so that they can be used in early bootstrap files.

* lisp/emacs-lisp/easy-mmode.el (easy-mmode--mode-docstring):
Don't use string-empty-p because of bootstrap issues.
This commit is contained in:
Lars Ingebrigtsen 2022-04-02 16:53:24 +02:00
parent 56fb536e78
commit 781c43de3d
3 changed files with 32 additions and 33 deletions

View file

@ -114,7 +114,7 @@ it is disabled.")
;; line.
(ensure-empty-lines)
(while (and lines
(string-empty-p (car lines)))
(equal (car lines) ""))
(pop lines))
;; Insert the doc string.
(dolist (line lines)