emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] elpa bafe761 17/35: url macro accepts only braces in hyperref


From: Tassilo Horn
Subject: [elpa] elpa bafe761 17/35: url macro accepts only braces in hyperref
Date: Sun, 31 Jan 2016 16:05:38 +0000

branch: elpa
commit bafe761f8e9d62258f25eb146d1225bd6f6c2966
Author: Mosè Giordano <address@hidden>
Commit: Mosè Giordano <address@hidden>

    url macro accepts only braces in hyperref
    
    * style/hyperref.el: Update copyright years.
    ("hyperref"): Remove "url" from
    `LaTeX-verbatim-macros-with-delims-local', it was added by url.el, but
    in hyperref "\url" has a different syntax.
---
 style/hyperref.el |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/style/hyperref.el b/style/hyperref.el
index f2063b9..c57c188 100644
--- a/style/hyperref.el
+++ b/style/hyperref.el
@@ -1,6 +1,6 @@
 ;;; hyperref.el --- AUCTeX style for `hyperref.sty' v6.83m
 
-;; Copyright (C) 2008, 2013--2015 Free Software Foundation, Inc.
+;; Copyright (C) 2008, 2013--2016 Free Software Foundation, Inc.
 
 ;; Author: Ralf Angeli <address@hidden>
 ;; Maintainer: address@hidden
@@ -277,6 +277,11 @@
    (add-to-list 'LaTeX-verbatim-macros-with-braces-local "hyperimage")
    (add-to-list 'LaTeX-verbatim-macros-with-braces-local "hyperref")
 
+   ;; In hyperref package, \url macro is redefined and \url|...| can't be used,
+   ;; while it's possible when only url package (required by hyperref) is 
loaded
+   (setq LaTeX-verbatim-macros-with-delims-local
+        (remove "url"  LaTeX-verbatim-macros-with-delims-local))
+
    ;; Fontification
    (when (and (fboundp 'font-latex-add-keywords)
              (fboundp 'font-latex-set-syntactic-keywords)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]