[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-25 903603f: Fix wording in a doc-view.el comment
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] emacs-25 903603f: Fix wording in a doc-view.el comment |
Date: |
Mon, 15 Feb 2016 11:10:25 +0000 |
branch: emacs-25
commit 903603f8cd06c289ae84bf3f0bc8ac43609b6644
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>
Fix wording in a doc-view.el comment
* 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 | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/lisp/doc-view.el b/lisp/doc-view.el
index 4cf4ce2..af7f199 100644
--- a/lisp/doc-view.el
+++ b/lisp/doc-view.el
@@ -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))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-25 903603f: Fix wording in a doc-view.el comment,
Eli Zaretskii <=