[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/dash 3ae7335 02/14: Indicate macros in generated info m
From: |
Phillip Lord |
Subject: |
[elpa] externals/dash 3ae7335 02/14: Indicate macros in generated info manual |
Date: |
Sun, 04 Oct 2015 12:00:59 +0000 |
branch: externals/dash
commit 3ae7335e95ab3b2682e894d633cf2a37863b227e
Author: Mark Oteiza <address@hidden>
Commit: Mark Oteiza <address@hidden>
Indicate macros in generated info manual
---
dev/examples-to-info.el | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/dev/examples-to-info.el b/dev/examples-to-info.el
index 8c67382..1e6f4b2 100644
--- a/dev/examples-to-info.el
+++ b/dev/examples-to-info.el
@@ -86,9 +86,12 @@ FUNCTION may reference an elisp function, alias, macro or a
subr."
(s-replace "### " "@section " function)) "\n")
(-let [(command-name signature docstring examples) function]
(format (concat "@anchor{%s}\n"
- "@defun %s %s\n"
+ (if (macrop command-name) "@defmac" "@defun")
+ " %s %s\n"
"%s\n\n"
- "@address@hidden address@hidden defun\n")
+ "@address@hidden example\n"
+ "@end "
+ (if (macrop command-name) "defmac" "defun") "\n")
command-name
command-name
signature
- [elpa] externals/dash ce3c2fe 01/14: Errant paren removed from -let documentation., (continued)
- [elpa] externals/dash ce3c2fe 01/14: Errant paren removed from -let documentation., Phillip Lord, 2015/10/08
- [elpa] externals/dash ffe72fb 08/14: Update documentation., Phillip Lord, 2015/10/08
- [elpa] externals/dash c8c6ea4 05/14: [Fix #154] Clarify that -flatten destroys all nils., Phillip Lord, 2015/10/08
- [elpa] externals/dash dbe2bf2 10/14: Merge pull request #160 from phillord/feature/gnu-elpa-support, Phillip Lord, 2015/10/08
- [elpa] externals/dash 3e2e0b5 03/14: Merge pull request #131 from phillord/fix/documentation-for-let, Phillip Lord, 2015/10/08
- [elpa] externals/dash fa90644 14/14: Release 2.12.0, Phillip Lord, 2015/10/08
- [elpa] externals/dash 8fa70c5 12/14: [Fix #101] Use faster hashtable implementation for -union., Phillip Lord, 2015/10/08
- [elpa] externals/dash 66cb6f5 09/14: Merge pull request #146 from holomorph/info-macros, Phillip Lord, 2015/10/08
- [elpa] externals/dash 5d2a73c 07/14: [Fix #155] -is-suffix? no longer destroys input list., Phillip Lord, 2015/10/08
- [elpa] externals/dash 91a2b14 13/14: [Fix #101] Fix reversed condition for hashtable -union., Phillip Lord, 2015/10/08
- [elpa] externals/dash 3ae7335 02/14: Indicate macros in generated info manual,
Phillip Lord <=
- [elpa] externals/dash c6c2105 04/14: Add support for GNU ELPA., Phillip Lord, 2015/10/08
- [elpa] externals/dash 7e1c13e 06/14: Add Cam SaĆ¼l to the readme template as contributor., Phillip Lord, 2015/10/08
- [elpa] externals/dash 4acab5d 11/14: Use reverse instead of explicit iteration., Phillip Lord, 2015/10/08