[Top][All Lists]

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

[Bug-AUCTeX] 11.87; make-local-hook in bib-cite.el generates an error us

From: Markus Jantti
Subject: [Bug-AUCTeX] 11.87; make-local-hook in bib-cite.el generates an error using emacs 24
Date: Mon, 11 Nov 2013 16:19:32 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0

I had problems with using bib-cite with AUCTeX under emacs 24. On turning on bib-cite with

(require 'bib-cite)
(autoload 'turn-on-bib-cite "bib-cite")
(add-hook 'LaTeX-mode-hook 'turn-on-bib-cite)

in my .emacs file under emacs 24, I get the error:

Symbol's function definition is void: make-local-hook

and auctex essentially stops working.

After searching on the net, it turns out make-local-hook is redundant, so commenting out line 766 in bib-cite.el,
"(make-local-hook 'after-change-functions)"
seems fixed the problem. (I've attached the bib-cite.el file with this minor modification.)



Emacs  : GNU Emacs 24.2.1 (x86_64-pc-linux-gnu, GTK+ Version 3.6.4)
 of 2013-04-09 on allspice, modified by Debian
Package: 11.87

current state:
 AUCTeX-date "2012-11-30"
 window-system 'x
 LaTeX-version "2e"
 TeX-style-path '("/var/lib/auctex/emacs24/"
"/home/markus/.emacs.d/auctex/style" "auto" "style")
 TeX-auto-save nil
 TeX-parse-self nil
 TeX-master t
 TeX-command-list '(("TeX" "%(PDF)%(tex) %`%S%(PDFout)%(mode)%' %t"
 TeX-run-TeX nil
 (plain-tex-mode ams-tex-mode texinfo-mode) :help
"Run plain TeX")
"%`%l%(mode)%' %t" TeX-run-TeX nil
(latex-mode doctex-mode) :help "Run LaTeX")
("Makeinfo" "makeinfo %t" TeX-run-compile nil
(texinfo-mode) :help "Run Makeinfo with Info output")
HTML" "makeinfo --html %t" TeX-run-compile nil
(texinfo-mode) :help "Run Makeinfo with HTML output")
"%(PDF)amstex %`%S%(PDFout)%(mode)%' %t"
TeX-run-TeX nil (ams-tex-mode) :help "Run AMSTeX")
("ConTeXt" "texexec --once --texutil %(execopts)%t"
TeX-run-TeX nil (context-mode) :help "Run ConTeXt once")
Full" "texexec %(execopts)%t" TeX-run-TeX nil
(context-mode) :help "Run ConTeXt until completion")
"bibtex %s" TeX-run-BibTeX nil t :help
"Run BibTeX")
"biber %s" TeX-run-Biber nil t :help "Run Biber")
"%V" TeX-run-discard-or-function t t :help
"Run Viewer")
"%p" TeX-run-command t t :help "Print the file")
"%q" TeX-run-background nil t :help
"View the printer queue" :visible TeX-queue-command)
"%(o?)dvips %d -o %f " TeX-run-command t t :help
"Generate PostScript file")
"makeindex %s" TeX-run-command nil t :help
"Create index file")
"lacheck %s" TeX-run-compile nil (latex-mode)
"Check LaTeX file for correctness")
"(TeX-ispell-document \"\")" TeX-run-function nil
                                                                                 t :help 
"Spell-check the document")
"TeX-clean" TeX-run-function nil t :help
"Delete generated intermediate files")
All" "(TeX-clean t)" TeX-run-function nil t :help
"Delete generated intermediate and output files")
"" TeX-run-command t t :help
"Run an arbitrary command")
Markus Jantti
Professor of Economics
Swedish Institute for Social Research, Stockholm University

Attachment: bib-cite.el
Description: Text Data

reply via email to

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