[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/compat a90e08cbc5 10/10: compat-macs: Fix docstrings
From: |
ELPA Syncer |
Subject: |
[elpa] externals/compat a90e08cbc5 10/10: compat-macs: Fix docstrings |
Date: |
Thu, 5 Jan 2023 10:57:31 -0500 (EST) |
branch: externals/compat
commit a90e08cbc537778ac108e491daff4e418e7740cf
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
compat-macs: Fix docstrings
---
compat-macs.el | 18 +++++++++++-------
1 file changed, 11 insertions(+), 7 deletions(-)
diff --git a/compat-macs.el b/compat-macs.el
index 247ecfbe84..0293111190 100644
--- a/compat-macs.el
+++ b/compat-macs.el
@@ -162,14 +162,13 @@ attributes (see `compat--generate')."
;; Prepend compatibility notice to the actual
;; documentation string.
,(with-temp-buffer
- (insert docstring)
- (newline 2)
(insert
(format
"[Compatibility %s for `%S', defined in Emacs %s. \
If this is not documented on yourself system, you can check \
-`(compat) Emacs %s' for more details.]"
- type oldname compat--current-version compat--current-version))
+`(compat) Emacs %s' for more details.]\n\n"
+ type oldname compat--current-version compat--current-version
+ docstring))
(let ((fill-column 80))
(fill-region (point-min) (point-max)))
(buffer-string))
@@ -257,9 +256,14 @@ non-nil value."
,realname ,initval
;; Prepend compatibility notice to the actual
;; documentation string.
- ,(format
- "[Compatibility variable for `%S', defined in Emacs
%s]\n\n%s"
- name compat--current-version docstring))
+ ,(with-temp-buffer
+ (insert
+ (format
+ "[Compatibility variable for `%S', defined in Emacs
%s]\n\n%s"
+ name compat--current-version docstring))
+ (let ((fill-column 80))
+ (fill-region (point-min) (point-max)))
+ (buffer-string)))
;; Make variable as local if necessary
,(cond
((eq localp 'permanent)
- [elpa] externals/compat updated (c6f6d43bd7 -> a90e08cbc5), ELPA Syncer, 2023/01/05
- [elpa] externals/compat f7d4860240 06/10: Mark function as tested, ELPA Syncer, 2023/01/05
- [elpa] externals/compat 821e251409 02/10: Test line-number-at-pos, ELPA Syncer, 2023/01/05
- [elpa] externals/compat 30628c9752 08/10: Update NEWS, ELPA Syncer, 2023/01/05
- [elpa] externals/compat 7d5c47576e 05/10: Fix and test add-display-text-property and get-display-property, ELPA Syncer, 2023/01/05
- [elpa] externals/compat 757ea1d68f 03/10: Fix and test replace-regexp/string-in-region, ELPA Syncer, 2023/01/05
- [elpa] externals/compat cccd61fea2 04/10: Remove ert-quiet, ELPA Syncer, 2023/01/05
- [elpa] externals/compat f06e55fbb6 01/10: Update NEWS, ELPA Syncer, 2023/01/05
- [elpa] externals/compat bc2f944886 09/10: Update NEWS, ELPA Syncer, 2023/01/05
- [elpa] externals/compat 576ede78bb 07/10: Fix add-display-text-property, ELPA Syncer, 2023/01/05
- [elpa] externals/compat a90e08cbc5 10/10: compat-macs: Fix docstrings,
ELPA Syncer <=