auctex-devel
[Top][All Lists]
Advanced

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

Re: [AUCTeX-devel] latex-mode or context-mode in startup


From: Ivan Andrus
Subject: Re: [AUCTeX-devel] latex-mode or context-mode in startup
Date: Thu, 25 Jun 2015 17:37:07 -0600

I’m not entirely sure I understand what you’re looking for, but does 

   (add-hook 'find-file-hook #'latex-mode)

do what you want?

-Ivan

> On Jun 25, 2015, at 6:56 AM, Carlos <address@hidden> wrote:
> 
> I know, I know.
> 
> If it isn't the filename (I read somewhere that a separator will do the 
> trick), nor the extension of the file, it must be the
> contents of the file.
> 
> Some people will say that that it's far off. Since they have to work
> with other languages. But other languages have implemted a regular
> expression within the contents of the file. 
> 
> Perhaps I'm just dreaming.
> 
> \documentclass checked
> \starttext checked
> 
> In reality, not even an extension is needed.
> 
> Anyhow. What would be a modification in the .emacs file to accomplish
> it?
> 
> Thanks guys. Mosè, Tassilo? Anyone?
> 
> 
> _______________________________________________
> auctex-devel mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/auctex-devel




reply via email to

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