]> git.eshelyaron.com Git - emacs.git/commitdiff
; Improve commentary in 'files-tests-save-buffer-read-only-file'.
authorEli Zaretskii <eliz@gnu.org>
Sat, 4 Nov 2023 13:02:07 +0000 (15:02 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 4 Nov 2023 13:02:07 +0000 (15:02 +0200)
test/lisp/files-tests.el

index 77a4c22ed6a861ec8b3e858da1f6f0e071952734..3492bd701b232aae7a221ab34c3249dcfa6aded2 100644 (file)
@@ -1754,6 +1754,9 @@ Ensure that the issues from bug#66546 are fixed."
                 (signal 'file-error "Write failed")))
 
       (let* (;; Sanitize environment.
+             ;; The tests below test text for equality, so we need to
+             ;; disable any code- and EOL-conversions to avoid false
+             ;; positives and false negatives.
              (coding-system-for-read 'no-conversion)
              (coding-system-for-write 'no-conversion)
              (auto-save-default nil)