Commit 4fa60c54 authored by Elias Pipping's avatar Elias Pipping Committed by Stefan Monnier
Browse files

* lisp/doc-view.el (doc-view-current-cache-dir): Beware % escapes.

Fixes: debbugs:13679
parent 99d0d6dc
2013-02-11 Elias Pipping <pipping@lavabit.com>
* doc-view.el (doc-view-current-cache-dir): Beware % escapes
(bug#13679).
2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
 
* cus-start.el (all): Remove inhibit-local-menu-bar-menus.
......
......@@ -686,7 +686,8 @@ It's a subdirectory of `doc-view-cache-directory'."
(setq doc-view-current-cache-dir
(file-name-as-directory
(expand-file-name
(concat (file-name-nondirectory doc-view-buffer-file-name)
(concat (subst-char-in-string ?% ?_ ;; bug#13679
(file-name-nondirectory doc-view-buffer-file-name))
"-"
(let ((file doc-view-buffer-file-name))
(with-temp-buffer
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment