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

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

[elpa] 164/299: * bib-cite.el (bib-cite-minor-mode): Call `make-local-ho


From: Stefan Monnier
Subject: [elpa] 164/299: * bib-cite.el (bib-cite-minor-mode): Call `make-local-hook' only on XEmacs.
Date: Sun, 02 Nov 2014 03:11:10 +0000

monnier pushed a commit to branch externals/auctex
in repository elpa.

commit 9e0fae3919ba0fcd1ed2923f14574780db42174a
Author: Tassilo Horn <address@hidden>
Date:   Mon Sep 2 12:37:05 2013 +0200

    * bib-cite.el (bib-cite-minor-mode): Call `make-local-hook' only
    on XEmacs.
---
 ChangeLog   |    5 +++++
 bib-cite.el |    3 ++-
 2 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index a541e40..29617d4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-09-02  Tassilo Horn  <address@hidden>
+
+       * bib-cite.el (bib-cite-minor-mode): Call `make-local-hook' only
+       on XEmacs.
+
 2013-08-03  Mos� Giordano  <address@hidden>
 
        * latex.el (TeX-arg-ref): New function.
diff --git a/bib-cite.el b/bib-cite.el
index 5909276..5a4e8a5 100644
--- a/bib-cite.el
+++ b/bib-cite.el
@@ -763,7 +763,8 @@ runs bib-find, and [mouse-3] runs bib-display."
        (progn
          (bib-cite-setup-highlight-mouse-keymap)
          (bib-highlight-mouse)
-         (make-local-hook 'after-change-functions)
+         (when bib-cite-is-XEmacs
+           (make-local-hook 'after-change-functions))
          (add-hook 'after-change-functions
                    'bib-cite-setup-mouse-function nil t)))
     (if bib-cite-is-XEmacs



reply via email to

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