branch: externals/auctex commit fc9a240dccd5e328142c821fb4ed0dbe34bd76c7 Author: Tassilo Horn <t...@gnu.org> Commit: Tassilo Horn <t...@gnu.org>
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 <t...@gnu.org> + + * tex.el (TeX-evince-sync-view): Don't URL-encode commas in the + file name (bug#19398). + 2014-12-12 Mos� Giordano <m...@gnu.org> * 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)))))))