[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/dash 1997e52 031/439: Treat dashes in docstring better.
From: |
Phillip Lord |
Subject: |
[elpa] externals/dash 1997e52 031/439: Treat dashes in docstring better. |
Date: |
Tue, 04 Aug 2015 20:26:03 +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 754dd0d 024/439: Create stand-alone anaphoric macros, (continued)
- [elpa] externals/dash 754dd0d 024/439: Create stand-alone anaphoric macros, Phillip Lord, 2015/08/04
- [elpa] externals/dash 9e74cc0 027/439: Remove dead code., Phillip Lord, 2015/08/04
- [elpa] externals/dash 8eab3d1 028/439: Slight improvements to map., Phillip Lord, 2015/08/04
- [elpa] externals/dash d2dfb11 023/439: Use double-bang for anaphoric functions, Phillip Lord, 2015/08/04
- [elpa] externals/dash 85016d3 029/439: Fix quoted forms like `' in docs., Phillip Lord, 2015/08/04
- [elpa] externals/dash 6f0636f 032/439: Show only three first examples per function., Phillip Lord, 2015/08/04
- [elpa] externals/dash 4cc4147 035/439: Fix typo, Phillip Lord, 2015/08/04
- [elpa] externals/dash 41d77ec 034/439: Add function list to readme., Phillip Lord, 2015/08/04
- [elpa] externals/dash 214a7db 030/439: Quote and lowercase parameter names in docstring., Phillip Lord, 2015/08/04
- [elpa] externals/dash ec27b47 025/439: Turn tests into examples that can both be tested and turned into docs, Phillip Lord, 2015/08/04
- [elpa] externals/dash 1997e52 031/439: Treat dashes in docstring better.,
Phillip Lord <=
- [elpa] externals/dash 78fc2a3 038/439: Quote and downcase params with digits in them too., Phillip Lord, 2015/08/04
- [elpa] externals/dash 06efd3c 039/439: Slight improvements to docs., Phillip Lord, 2015/08/04
- [elpa] externals/dash de5ff6a 037/439: Simplify quotes in readme., Phillip Lord, 2015/08/04
- [elpa] externals/dash 5f6ea16 036/439: Fix typo, Phillip Lord, 2015/08/04
- [elpa] externals/dash 722fea6 033/439: Include docs in README, Phillip Lord, 2015/08/04
- [elpa] externals/dash 657ee8b 040/439: Slight improvements to docs., Phillip Lord, 2015/08/04
- [elpa] externals/dash 26113a1 041/439: Add pre-commit.sh that runs tests and updates readme., Phillip Lord, 2015/08/04
- [elpa] externals/dash e7d5c01 043/439: Add note about README being autogenerated to Development notes., Phillip Lord, 2015/08/04
- [elpa] externals/dash 32053cd 042/439: Update readme with development notes., Phillip Lord, 2015/08/04
- [elpa] externals/dash e1a362c 047/439: Update README to reflect changes in readme generation., Phillip Lord, 2015/08/04