monnier pushed a commit to branch externals/auctex in repository elpa. commit 9e0fae3919ba0fcd1ed2923f14574780db42174a Author: Tassilo Horn <t...@gnu.org> 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 <t...@gnu.org> + + * bib-cite.el (bib-cite-minor-mode): Call `make-local-hook' only + on XEmacs. + 2013-08-03 Mos� Giordano <giordano.m...@libero.it> * 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