[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/dash 6c41b32 301/316: Move case-fold-search binding to
From: |
ELPA Syncer |
Subject: |
[elpa] externals/dash 6c41b32 301/316: Move case-fold-search binding to where it's used |
Date: |
Mon, 15 Feb 2021 15:58:21 -0500 (EST) |
branch: externals/dash
commit 6c41b327be1905d8ae7707ccda3d2bf2e6935e4e
Author: Basil L. Contovounesios <contovob@tcd.ie>
Commit: Basil L. Contovounesios <contovob@tcd.ie>
Move case-fold-search binding to where it's used
* dev/examples-to-info.el (example-to-string): Move case-fold-search
binding from here...
(dash--print-lisp-as-texi): ...to here, where it's needed.
---
dev/examples-to-info.el | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/dev/examples-to-info.el b/dev/examples-to-info.el
index a32ca5f..c1b05b7 100644
--- a/dev/examples-to-info.el
+++ b/dev/examples-to-info.el
@@ -31,21 +31,21 @@
(defun dash--print-lisp-as-texi (obj)
"Print Lisp OBJ suitably for Texinfo."
(let ((print-quoted t)
- (print-escape-control-characters t))
- (save-excursion (prin1 obj)))
- (while (re-search-forward (rx (| (group ?\' symbol-start "nil" symbol-end)
- (group "\\?") (group "\\00") (in "{}")))
- nil 'move)
- (replace-match (cond ((match-beginning 1) "'()") ; 'nil -> '().
- ((match-beginning 2) "?") ; `-any\?' -> `-any?'.
- ((match-beginning 3) "\\\\") ; \00N -> \N.
- ("@\\&")) ; { -> @{.
- t)))
+ (print-escape-control-characters t)
+ (case-fold-search nil))
+ (save-excursion (prin1 obj))
+ (while (re-search-forward (rx (| (group ?\' symbol-start "nil" symbol-end)
+ (group "\\?") (group "\\00") (in "{}")))
+ nil 'move)
+ (replace-match (cond ((match-beginning 1) "'()") ; 'nil -> '().
+ ((match-beginning 2) "?") ; `-any\?' -> `-any?'.
+ ((match-beginning 3) "\\\\") ; \00N -> \N.
+ ("@\\&")) ; { -> @{.
+ t))))
(defun example-to-string (example)
(pcase-let* ((`(,actual ,err ,expected) example)
- (err (eq err '!!>))
- (case-fold-search nil))
+ (err (eq err '!!>)))
(and err (consp expected)
(setq expected (error-message-string expected)))
(with-output-to-string
- [elpa] externals/dash 926eb0b 280/316: Add forceful Makefile targets, (continued)
- [elpa] externals/dash 926eb0b 280/316: Add forceful Makefile targets, ELPA Syncer, 2021/02/15
- [elpa] externals/dash eedc2af 279/316: Fix docstring Texinfo generation, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 7ee12ee 283/316: Use buffers for Texinfo generation, ELPA Syncer, 2021/02/15
- [elpa] externals/dash baf9147 285/316: Simplify Texinfo generation, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 7ec3975 292/316: Avoid deleting docs in old Emacs versions, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 3cfbebf 293/316: Port more Texinfo generation changes to Markdown, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 03748d8 297/316: Prefer '() over () in printed examples, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 6ffcd89 299/316: Print actual error messages in README, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 4f3238b 300/316: Strip leading zeros from octal escapes in Emacs 26, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 2028805 302/316: Don't quote error messages in Texinfo examples, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 6c41b32 301/316: Move case-fold-search binding to where it's used,
ELPA Syncer <=
- [elpa] externals/dash 1c711f1 303/316: Unquote results in Texinfo examples, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 1bf9ddb 304/316: Makefile aesthetics, ELPA Syncer, 2021/02/15
- [elpa] externals/dash da0415b 312/316: * NEWS.md (2.18): Start news for upcoming release., ELPA Syncer, 2021/02/15
- [elpa] externals/dash 5eea156 315/316: Absorb dash-functional into dash, ELPA Syncer, 2021/02/15
- [elpa] externals/dash eaf33b3 226/316: Add info-lookup-symbol support, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 565055e 229/316: * dash.el (---truthy?): Simplify., ELPA Syncer, 2021/02/15
- [elpa] externals/dash 97bd233 231/316: Use lexical binding for -grade-up/down, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 1152feb 237/316: Deprecate variadic -list, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 609ac28 245/316: Improve Texinfo markup when documenting errors, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 999cae9 253/316: Fix short-circuiting of --first, ELPA Syncer, 2021/02/15