]> code.delx.au - gnu-emacs/commitdiff
Fix wording in a doc-view.el comment
authorEli Zaretskii <eliz@gnu.org>
Mon, 15 Feb 2016 11:09:46 +0000 (13:09 +0200)
committerEli Zaretskii <eliz@gnu.org>
Mon, 15 Feb 2016 11:09:46 +0000 (13:09 +0200)
* lisp/doc-view.el (doc-view--current-cache-dir): Don't use
"illegal" for something that is not against the law.

lisp/doc-view.el

index 4cf4ce264f7fee6796096204abca52791b83b95c..af7f1996cc5b1874ac5ce69ad580b43f16dd23f5 100644 (file)
@@ -696,11 +696,12 @@ It's a subdirectory of `doc-view-cache-directory'."
     (setq doc-view--current-cache-dir
          (file-name-as-directory
           (expand-file-name
-           (concat (thread-last (file-name-nondirectory doc-view--buffer-file-name)
+           (concat (thread-last
+                        (file-name-nondirectory doc-view--buffer-file-name)
                       ;; bug#13679
                       (subst-char-in-string ?% ?_)
                       ;; arc-mode concatenates archive name and file name
-                      ;; with colon, which is illegal on MS-Windows.
+                      ;; with colon, which isn't allowed on MS-Windows.
                       (subst-char-in-string ?: ?_))
                     "-"
                     (let ((file doc-view--buffer-file-name))