bug-auctex
[Top][All Lists]
Advanced

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

[Bug-AUCTeX] SOLVED (was: 11.84; cannot start LaTeX mode)


From: Uwe Brauer
Subject: [Bug-AUCTeX] SOLVED (was: 11.84; cannot start LaTeX mode)
Date: Thu, 27 Feb 2014 15:47:29 +0100
User-agent: Gnus/5.13001 (Ma Gnus v0.10) XEmacs/21.5-b33 (linux)

>> "Tassilo" == Tassilo Horn <address@hidden> writes:
Hi Tassilo,


   >> then in a latex file  the menus are there, I can run latex, but the file
   >> is in fundamental mode! 
   >> 
   >> With debug-on-error to t, I obtain an error
   >> which I attach.

   > Debugger entered--Lisp error: (void-function nil)
   >   nil()
   >   run-hooks(change-major-mode-after-body-hook text-mode-hook TeX-mode-hook 
LaTeX-mode-hook)

   > Seems one of those 4 hooks contains a nil entry.


I did not look carefully enough. I had some old code of the sort

 (add-hook 'LaTeX-mode-hook
                  (lambda ()
                         (local-set-key [(control right)]   'preview-document)
                         (local-set-key  [(control left)] 
'preview-clearout-buffer)
                         (local-set-key  [(control down)] 'preview-environment)
                         (local-set-key [(control up)] 'preview-buffer)))

Which caused the problem, I replaced the lambda call (which I dislike
anyhow) and now it seems to work, sorry for the noise.

Uwe 

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

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