emacs-devel
[Top][All Lists]
Advanced

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

Re: Symbol's function definition is void: latex-indent-line [Mac OS X]


From: Jan Djärv
Subject: Re: Symbol's function definition is void: latex-indent-line [Mac OS X]
Date: Fri, 3 Aug 2012 18:24:31 +0200

Hello.


3 aug 2012 kl. 15:57 skrev Angelo Graziosi:

> 
> You may try to reproduce with:
> 
> cp init.el-test ~/.emacs.d/init.el
> emacs24[|| trunk] test_subfig.tex
> 
> go to the end of a line, "\section{Introduction}" for example.
> 
> Press ENTER to insert a blank line: it does not work for me, it prints
> 
>  Symbol's function definition is void: latex-indent-line
> 
> in the minibuffer..

In your init.el you have:

(defun latex-return( ) (interactive) (latex-indent-line) (newline-and-indent))

and as stated below, latex-indent-line does not exist, but latex-indent do.
So no wonder you get Symbol's function definition is void: latex-indent-line.
What did you expect?

        Jan D.


> 
> I have tested it with Emacs-app 24.1 on Mac OS X (via MacPorts); with rev. 
> 109400 on Cygwin, and a week old trunk on GNU/Linux Fedora 16.
> 
> Ciao,
> Angelo.
> 
> On Fri, 3 Aug 2012, Andreas Schwab wrote:
> 
>> Angelo Graziosi <address@hidden> writes:
>> 
>>>  latex-return: Symbol's function definition is void: latex-indent-line
>> 
>> There was never a function latex-indent-line in Emacs (tex-mode defines
>> latex-indent).  It must have been defined by some add-on package.
>> 
>> Andreas.




reply via email to

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