auctex-diffs
[Top][All Lists]
Advanced

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

[AUCTeX-diffs] Changes to auctex/tex.el,v


From: Tassilo Horn
Subject: [AUCTeX-diffs] Changes to auctex/tex.el,v
Date: Mon, 18 Feb 2013 14:56:15 +0000

CVSROOT:        /sources/auctex
Module name:    auctex
Changes by:     Tassilo Horn <tsdh>     13/02/18 14:56:12

Index: tex.el
===================================================================
RCS file: /sources/auctex/auctex/tex.el,v
retrieving revision 5.708
retrieving revision 5.709
diff -u -b -r5.708 -r5.709
--- tex.el      18 Feb 2013 10:57:49 -0000      5.708
+++ tex.el      18 Feb 2013 14:56:11 -0000      5.709
@@ -669,6 +669,15 @@
             (+ (/ (- outer-priority inner-priority) 2) inner-priority))
            (t TeX-overlay-priority-step)))) )
 
+;; require crm here, because we often do
+;;
+;; (let ((crm-separator ","))
+;;   (TeX-completing-read-multiple ...))
+;;
+;; which results in a void-variable error if crm hasn't been loaded before.
+(unless (require 'crm nil t)
+  (error "AUCTeX requires crm.el which is included in Emacs and
+edit-utils >= 2.32 for XEmacs."))
 
 (if (fboundp 'completing-read-multiple)
     (defalias 'TeX-completing-read-multiple 'completing-read-multiple)



reply via email to

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