auctex-diffs
[Top][All Lists]
Advanced

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

[AUCTeX-diffs] [elpa] externals/auctex 95c3acf 06/34: Ensure rawness of


From: Tassilo Horn
Subject: [AUCTeX-diffs] [elpa] externals/auctex 95c3acf 06/34: Ensure rawness of data to compute MD5
Date: Sun, 6 Jun 2021 11:40:01 -0400 (EDT)

branch: externals/auctex
commit 95c3acff496eaaebed1cf38bf0bdaa8a034d46d4
Author: Ikumi Keita <ikumi@ikumi.que.jp>
Commit: Ikumi Keita <ikumi@ikumi.que.jp>

    Ensure rawness of data to compute MD5
    
    * tex-buf.el (TeX-run-TeX): Use `insert-file-contents-literally'
    instead of `insert-file-contents' in order to avoild possible wrong
    MD5 value due to unnecessary encoding conversion.
    ;(TeX-sentinel-function, TeX-sentinel-default-function): Fix typo.
---
 tex-buf.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tex-buf.el b/tex-buf.el
index e465290..1aca504 100644
--- a/tex-buf.el
+++ b/tex-buf.el
@@ -1185,7 +1185,7 @@ run of `TeX-run-format', use
            (while (setq element (assoc idx-file LaTeX-idx-md5-alist))
              (setq LaTeX-idx-md5-alist (delq element LaTeX-idx-md5-alist))))
          (with-temp-buffer
-           (insert-file-contents idx-file)
+           (insert-file-contents-literally idx-file)
            (push (cons idx-file (md5 (current-buffer))) LaTeX-idx-md5-alist))))
 
   ;; can we assume that TeX-sentinel-function will not be changed
@@ -1465,7 +1465,7 @@ reasons.  Use `TeX-run-function' instead."
 
 
 (defvar TeX-sentinel-function (lambda (_process _name) nil)
-  "Hook to cleanup TeX command buffer after temination of PROCESS.
+  "Hook to cleanup TeX command buffer after termination of PROCESS.
 NAME is the name of the process.")
 
 (make-variable-buffer-local 'TeX-sentinel-function)
@@ -1473,7 +1473,7 @@ NAME is the name of the process.")
 
 (defvar TeX-sentinel-default-function (lambda (_process _name) nil)
   "Default for `TeX-sentinel-function'.  To be set in major mode.
-Hook to cleanup TeX command buffer after temination of PROCESS.
+Hook to cleanup TeX command buffer after termination of PROCESS.
 NAME is the name of the process.")
 
 (make-variable-buffer-local 'TeX-sentinel-default-function)




reply via email to

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