Skip to content

Commit

Permalink
Merge pull request #101 from iensu/patch-1
Browse files Browse the repository at this point in the history
Fix gh-issues-api code example
  • Loading branch information
sigma committed Mar 17, 2018
2 parents 92418cd + ce33fd1 commit f029fc1
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/source/issues.rst
Expand Up @@ -40,14 +40,14 @@ further `oref` those to get data. Putting it all together we might have::
(insert
(format
"#%s %s -- %s\n%s\n\n"
(oref it number) ; the issue number
(oref it created_at) ; the data
(fill-string (oref it title)) ; the title, filled
(oref issue number) ; the issue number
(oref issue created-at) ; the data
(fill-string (oref issue title)) ; the title, filled
(fill-string
(replace-regexp-in-string
"\r" "\n" (oref it body))))) ; the body filled
(oref
(gh-issues-issue-list ghcon "sigma" "gh.el")
data)))
"\r" "\n" (oref issue body)))))) ; the body filled
(oref
(gh-issues-issue-list ghcon "sigma" "gh.el")
data))


0 comments on commit f029fc1

Please sign in to comment.