mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-24 10:38:38 +00:00
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.
This commit is contained in:
parent
cf79616133
commit
903603f8cd
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user