projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
495c93d
)
Fix loaddefs generation
author
Po Lu
<luangruo@yahoo.com>
Wed, 1 Jun 2022 10:21:36 +0000
(18:21 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Wed, 1 Jun 2022 10:21:41 +0000
(18:21 +0800)
* lisp/emacs-lisp/loaddefs-gen.el (loaddefs-generate): Prevent
one kind of string match error.
lisp/emacs-lisp/loaddefs-gen.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/loaddefs-gen.el
b/lisp/emacs-lisp/loaddefs-gen.el
index 02f584d0af616f78ea86576fdea5b07cd70851f3..8dcb55d82d4e81ed6bc7818af53b38b4e3e9bbb8 100644
(file)
--- a/
lisp/emacs-lisp/loaddefs-gen.el
+++ b/
lisp/emacs-lisp/loaddefs-gen.el
@@
-568,7
+568,7
@@
If INCLUDE-PACKAGE-VERSION, include package version data."
(search-backward "\f\n"))
;; Delete the old version of the section.
(delete-region (match-beginning 0)
- (and (search-forward "\n\f\n;;;")
+ (and (search-forward "\n\f\n;;;"
nil t
)
(match-beginning 0)))
(forward-line -2)))
(insert head)