[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa-admin 1ee6e0e 383/439: * elpa-admin.el (elpaa--get-section
From: |
Philip Kaludercic |
Subject: |
[nongnu] elpa-admin 1ee6e0e 383/439: * elpa-admin.el (elpaa--get-section): Use the whole section |
Date: |
Sun, 17 Oct 2021 15:48:41 -0400 (EDT) |
branch: elpa-admin
commit 1ee6e0eea70b077631552a5b7953a60964149b7a
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>
* elpa-admin.el (elpaa--get-section): Use the whole section
---
elpa-admin.el | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/elpa-admin.el b/elpa-admin.el
index c546329..cec5298 100644
--- a/elpa-admin.el
+++ b/elpa-admin.el
@@ -818,9 +818,13 @@ Rename DIR/ to PKG-VERS/, and return the descriptor."
(emacs-lisp-mode) ;lm-section-start needs the outline-mode setting.
(let ((start (lm-section-start hsection)))
(when start
+ ;; FIXME: Emacs<28 had a bug in `lm-section-end', so cook up
+ ;; our own ad-hoc replacement.
+ (goto-char start) (forward-line 1)
+ (re-search-forward "^\\(;;;[^;\n]\\|[^; \n]\\)" nil t)
(insert
(prog1
- (buffer-substring start (lm-section-end hsection))
+ (buffer-substring start (match-beginning 0))
(erase-buffer)))
(emacs-lisp-mode)
(goto-char (point-min))
- [nongnu] elpa-admin 4b508ad 364/439: * elpa-admin.el: Allow site-local config, (continued)
- [nongnu] elpa-admin 4b508ad 364/439: * elpa-admin.el: Allow site-local config, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 48e4ccf 388/439: * elpa-admin.el: Don't pass non-existing dirs to `bwrap`, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 12cd68f 386/439: * README.org: Update according to comments from RMS., Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin d56a357 416/439: * elpa-admin.el: Don't hide the log of diverged packages in `fetch/<pkg>`, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin e79cce6 382/439: * elpa-admin.el (elpaa--get-section): Fix fetching from main file, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 2b93ca3 363/439: * elpa-admin.el: Add support for building Texi from Org., Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin b776ff9 408/439: * elpa-admin.el (elpaa--prune-old-tarballs): Move the .sig files as well, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 911fbf6 370/439: * GNUmakefile: Try and unbreak "make packages/foo". Still not perfect, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin bdb17b6 409/439: * elpa-admin.el (elpaa--get-devel-version): Don't remove *all* zeroes!, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 0fe87ad 380/439: * elpa-admin.el (elpaa--release-email): Usual last minute typo, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 1ee6e0e 383/439: * elpa-admin.el (elpaa--get-section): Use the whole section,
Philip Kaludercic <=
- [nongnu] elpa-admin 68c0d47 414/439: * elpa-admin.el (elpaa--fetch): Don't show the log if branches diverged, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 54ca8ea 415/439: * elpa-admin.el: Don't build release tarballs for pre-release versions, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin fd42057 422/439: Prefer HTTPS to HTTP, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 28b66f7 427/439: * elpa-admin.el (elpaa--get-last-release): Don't return snapshot versions, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 069c128 429/439: Allow testing locally via list-packages, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 6afe3b7 431/439: * elpa-admin.el (elpaa--make-one-tarball): Be a bit more verbose, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 384e805 435/439: * elpa-admin.el (elpaa--sandbox): Default to nil on w32 and macos, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 69118c5 437/439: * elpa-admin.el (elpaa--release-email): Fix thinko, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin e71d294 439/439: * GNUmakefile (packages/%.elc): Use `other-packages` if present, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin e2b9274 266/439: [admin int] Simplify ‘archive--write-pkg-file’ calling convention., Philip Kaludercic, 2021/10/17