emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [PATCH] * doc/library-of-babel.org: Replace non-existent with-temp-filebuffer.
@ 2017-07-13  7:40 Chunyang Xu
  2017-07-13  8:02 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Chunyang Xu @ 2017-07-13  7:40 UTC (permalink / raw)
  To: emacs-orgmode

TINYCHANGE
---
 doc/library-of-babel.org | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/library-of-babel.org b/doc/library-of-babel.org
index 0098e7263..b6c90c763 100644
--- a/doc/library-of-babel.org
+++ b/doc/library-of-babel.org
@@ -73,7 +73,7 @@ Read local or remote file in [[http://www.json.org/][json]] format into emacs-li
   (require 'json)
   (cond
    (file
-    (with-temp-filebuffer file
+    (org-babel-with-temp-filebuffer file
       (goto-char (point-min))
       (json-read)))
    (url
-- 
2.13.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] * doc/library-of-babel.org: Replace non-existent with-temp-filebuffer.
  2017-07-13  7:40 [PATCH] * doc/library-of-babel.org: Replace non-existent with-temp-filebuffer Chunyang Xu
@ 2017-07-13  8:02 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2017-07-13  8:02 UTC (permalink / raw)
  To: Chunyang Xu; +Cc: emacs-orgmode

Hello,

Chunyang Xu <mail@xuchunyang.me> writes:

> TINYCHANGE
> ---
>  doc/library-of-babel.org | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/doc/library-of-babel.org b/doc/library-of-babel.org
> index 0098e7263..b6c90c763 100644
> --- a/doc/library-of-babel.org
> +++ b/doc/library-of-babel.org
> @@ -73,7 +73,7 @@ Read local or remote file in [[http://www.json.org/][json]] format into emacs-li
>    (require 'json)
>    (cond
>     (file
> -    (with-temp-filebuffer file
> +    (org-babel-with-temp-filebuffer file
>        (goto-char (point-min))
>        (json-read)))
>     (url

Applied. Thank you.

Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-07-13  8:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-13  7:40 [PATCH] * doc/library-of-babel.org: Replace non-existent with-temp-filebuffer Chunyang Xu
2017-07-13  8:02 ` Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).