all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Making ELSE know the language by file extension
@ 2008-05-01 21:33 TheLonelyStar
  2008-05-01 22:13 ` Peter Milliken
  0 siblings, 1 reply; 2+ messages in thread
From: TheLonelyStar @ 2008-05-01 21:33 UTC (permalink / raw)
  To: Help-gnu-emacs


Hi,

I have installed ELSE, and added this to my .emacs:
(require 'else-mode)
(add-hook 'c-mode-common-hook
          (lambda ()
            ;; this is shown as a lambda so you can add further interesting
            ;; minor mode definitions here.
            (else-mode)))

Now, if I open "test.cpp" else asks me fo the language type (and I say C++).
Can't else now the language somehow automaticly?

Thanks!
Nathan
-- 
View this message in context: http://www.nabble.com/Making-ELSE-know-the-language-by-file-extension-tp16995070p16995070.html
Sent from the Emacs - Help mailing list archive at Nabble.com.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-05-01 22:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-01 21:33 Making ELSE know the language by file extension TheLonelyStar
2008-05-01 22:13 ` Peter Milliken

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.