+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.
(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