1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-31 21:01:23 -08:00

* admin/admin.el (make-news-html-file): Set id on correct tag.

This commit is contained in:
Stefan Kangas 2022-09-16 19:46:31 +02:00
parent bcc84ac7fe
commit 069ffbda09

View file

@ -951,10 +951,13 @@ $Date: %s $
(forward-line -1)
(insert (format
(concat
"#+HTML: <p>&nbsp;</p>\n"
"* Changes in Emacs %s.%s\n"
;; Add anchor to allow linking to
;; e.g. "NEWS.28.html#28.1".
"#+HTML: <p id=\"%s.%s\">&nbsp;</p>\n"
"* Changes in Emacs %s.%s\n")
":PROPERTIES:\n"
":CUSTOM_ID: %s.%s\n"
":END:\n")
last-major last-minor
last-major last-minor)))))