branch: elpa
commit fc9a240dccd5e328142c821fb4ed0dbe34bd76c7
Author: Tassilo Horn <[email protected]>
Commit: Tassilo Horn <[email protected]>
Fix bug#19398 in TeX-evince-sync-view
* tex.el (TeX-evince-sync-view): Don't URL-encode commas in the
file name (bug#19398).
---
ChangeLog | 5 +++++
tex.el | 3 ++-
2 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 10063c3..869e8c9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-12-18 Tassilo Horn <[email protected]>
+
+ * tex.el (TeX-evince-sync-view): Don't URL-encode commas in the
+ file name (bug#19398).
+
2014-12-12 Mos� Giordano <[email protected]>
* latex.el (LaTeX-environment-name-regexp): New function.
diff --git a/tex.el b/tex.el
index df312a0..af02663 100644
--- a/tex.el
+++ b/tex.el
@@ -1104,7 +1104,8 @@ of point in emacs by using Evince's DBUS API. Used by
default
for the Evince viewer entry in `TeX-view-program-list-builtin' if
the requirements are met."
(require 'url-util)
- (let* ((uri (concat "file://" (let ((url-unreserved-chars (cons ?/
url-unreserved-chars)))
+ (let* ((uri (concat "file://" (let ((url-unreserved-chars
+ (cons ?, (cons ?/
url-unreserved-chars))))
(url-hexify-string
(expand-file-name
(concat file "."
(TeX-output-extension)))))))