[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/dash 1997e52 031/426: Treat dashes in docstring better.
From: |
Phillip Lord |
Subject: |
[elpa] externals/dash 1997e52 031/426: Treat dashes in docstring better. |
Date: |
Tue, 04 Aug 2015 19:36:31 +0000 |
branch: externals/dash
commit 1997e527e6c5efad4dc9d93a62417963e73a35ce
Author: Magnar Sveen <address@hidden>
Commit: Magnar Sveen <address@hidden>
Treat dashes in docstring better.
---
docs.md | 10 +++++-----
examples-to-docs.el | 2 +-
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/docs.md b/docs.md
index ecda48b..54e0239 100644
--- a/docs.md
+++ b/docs.md
@@ -41,7 +41,7 @@ reduce returns the result of calling `fn` with no arguments.
If
## !filter `(fn list)`
-Returns a new list of the items in `list` for which `fn` returns a non`-`nil
value.
+Returns a new list of the items in `list` for which `fn` returns a non-nil
value.
```cl
(!filter (lambda (num) (= 0 (% num 2))) (quote (1 2 3 4))) ;; => (quote (2 4))
@@ -100,7 +100,7 @@ additional args.
Return a new list with only the members of `list` that are not in LIST2.
The test for equality is done with `equal`,
-or with `!compare`-`fn` if that's non`-`nil.
+or with `!compare-fn` if that's non-nil.
```cl
(!difference (quote nil) (quote nil)) ;; => (quote nil)
@@ -112,7 +112,7 @@ or with `!compare`-`fn` if that's non`-`nil.
Return a new list containing only the elements that are members of both `list`
and LIST2.
The test for equality is done with `equal`,
-or with `!compare`-`fn` if that's non`-`nil.
+or with `!compare-fn` if that's non-nil.
```cl
(!intersection (quote nil) (quote nil)) ;; => (quote nil)
@@ -124,7 +124,7 @@ or with `!compare`-`fn` if that's non`-`nil.
Return a new list with all duplicates removed.
The test for equality is done with `equal`,
-or with `!compare`-`fn` if that's non`-`nil.
+or with `!compare-fn` if that's non-nil.
```cl
(!uniq (quote nil)) ;; => (quote nil)
@@ -135,7 +135,7 @@ or with `!compare`-`fn` if that's non`-`nil.
Return whether `list` contains `element`.
The test for equality is done with `equal`,
-or with `!compare`-`fn` if that's non`-`nil.
+or with `!compare-fn` if that's non-nil.
```cl
(!contains? (quote (1 2 3)) 1) ;; => t
diff --git a/examples-to-docs.el b/examples-to-docs.el
index 9f7ddeb..79d59ec 100644
--- a/examples-to-docs.el
+++ b/examples-to-docs.el
@@ -24,7 +24,7 @@
(defun quote-docstring (docstring)
(let (case-fold-search)
- (setq docstring (replace-regexp-in-string "\\b\\([A-Z-]+\\)\\b"
'quote-and-downcase docstring t))
+ (setq docstring (replace-regexp-in-string "\\b\\([A-Z][A-Z-]*\\)\\b"
'quote-and-downcase docstring t))
(setq docstring (replace-regexp-in-string "`\\([^ ]+\\)'" "`\\1`"
docstring t)))
docstring)
- [elpa] externals/dash 07de30e 019/426: !mapcat macro, and with that: goodbye 'cl!, (continued)
- [elpa] externals/dash 07de30e 019/426: !mapcat macro, and with that: goodbye 'cl!, Phillip Lord, 2015/08/04
- [elpa] externals/dash 4201ecd 017/426: Out with remove-if, in with !reject, Phillip Lord, 2015/08/04
- [elpa] externals/dash c229ba8 011/426: Rewrite to anaphoric filter function., Phillip Lord, 2015/08/04
- [elpa] externals/dash 73204ca 022/426: Change !contains-p to !contains? to match clojure api., Phillip Lord, 2015/08/04
- [elpa] externals/dash ad44aee 009/426: Add more tests., Phillip Lord, 2015/08/04
- [elpa] externals/dash f5b16e3 018/426: Make !partial have the same quote-less API as the rest of bang., Phillip Lord, 2015/08/04
- [elpa] externals/dash a02b6c1 021/426: Add note about no 'cl required., Phillip Lord, 2015/08/04
- [elpa] externals/dash 754dd0d 024/426: Create stand-alone anaphoric macros, Phillip Lord, 2015/08/04
- [elpa] externals/dash 9e74cc0 027/426: Remove dead code., Phillip Lord, 2015/08/04
- [elpa] externals/dash 8eab3d1 028/426: Slight improvements to map., Phillip Lord, 2015/08/04
- [elpa] externals/dash 1997e52 031/426: Treat dashes in docstring better.,
Phillip Lord <=
- [elpa] externals/dash 52815c5 020/426: Add documentation, Phillip Lord, 2015/08/04
- [elpa] externals/dash d2dfb11 023/426: Use double-bang for anaphoric functions, Phillip Lord, 2015/08/04
- [elpa] externals/dash ed2e447 015/426: !reduce macro, Phillip Lord, 2015/08/04
- [elpa] externals/dash 6f0636f 032/426: Show only three first examples per function., Phillip Lord, 2015/08/04
- [elpa] externals/dash c0f2c8f 026/426: Test that it works with lexical binding., Phillip Lord, 2015/08/04
- [elpa] externals/dash 41d77ec 034/426: Add function list to readme., Phillip Lord, 2015/08/04
- [elpa] externals/dash 06efd3c 039/426: Slight improvements to docs., Phillip Lord, 2015/08/04
- [elpa] externals/dash 85016d3 029/426: Fix quoted forms like `' in docs., Phillip Lord, 2015/08/04
- [elpa] externals/dash 214a7db 030/426: Quote and lowercase parameter names in docstring., Phillip Lord, 2015/08/04
- [elpa] externals/dash de5ff6a 037/426: Simplify quotes in readme., Phillip Lord, 2015/08/04