emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/dash 2625bc5 247/316: Don't use insert-file-contents-li


From: ELPA Syncer
Subject: [elpa] externals/dash 2625bc5 247/316: Don't use insert-file-contents-literally
Date: Mon, 15 Feb 2021 15:58:10 -0500 (EST)

branch: externals/dash
commit 2625bc526b0a261100639b8788302089f8bc26b2
Author: Basil L. Contovounesios <contovob@tcd.ie>
Commit: Basil L. Contovounesios <contovob@tcd.ie>

    Don't use insert-file-contents-literally
    
    * dev/examples-to-docs.el (create-docs-file):
    * dev/examples-to-info.el (create-info-file): No need to read files
    literally.
---
 dev/examples-to-docs.el | 2 +-
 dev/examples-to-info.el | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev/examples-to-docs.el b/dev/examples-to-docs.el
index e93a3e9..fbc65d9 100644
--- a/dev/examples-to-docs.el
+++ b/dev/examples-to-docs.el
@@ -179,7 +179,7 @@ FUNCTION may reference an elisp function, alias, macro or a 
subr."
 (defun create-docs-file ()
   (let ((functions (nreverse functions)))
     (with-temp-file "./README.md"
-      (insert-file-contents-literally "./readme-template.md")
+      (insert-file-contents "./readme-template.md")
 
       (goto-and-remove "[[ function-list ]]")
       (insert (mapconcat 'function-summary functions "\n"))
diff --git a/dev/examples-to-info.el b/dev/examples-to-info.el
index e8b32bd..a1460b6 100644
--- a/dev/examples-to-info.el
+++ b/dev/examples-to-info.el
@@ -197,7 +197,7 @@ FUNCTION may reference an elisp function, alias, macro or a 
subr."
 (defun create-info-file ()
   (let ((functions (nreverse functions)))
     (with-temp-file "./dash.texi"
-      (insert-file-contents-literally "./dash-template.texi")
+      (insert-file-contents "./dash-template.texi")
 
       (dolist (pkg '(dash dash-functional))
         (goto-and-remove (format "@c [[ %s-version ]]" pkg))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]