* sass-mode in emacs does not start on file load
@ 2014-03-07 18:21 strattonbrazil
2014-03-07 21:34 ` Michael Heerdegen
0 siblings, 1 reply; 2+ messages in thread
From: strattonbrazil @ 2014-03-07 18:21 UTC (permalink / raw
To: help-gnu-emacs
I've added sass-mode to my .emacs file after installing it from the package manager, but when I load a .scss file it isn't in sass mode unless I specifically enter it (M-x sass-mode). Do I need to add some hook specifically for .scss files to enter sass-mode on start?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: sass-mode in emacs does not start on file load
2014-03-07 18:21 sass-mode in emacs does not start on file load strattonbrazil
@ 2014-03-07 21:34 ` Michael Heerdegen
0 siblings, 0 replies; 2+ messages in thread
From: Michael Heerdegen @ 2014-03-07 21:34 UTC (permalink / raw
To: help-gnu-emacs
strattonbrazil@gmail.com writes:
> I've added sass-mode to my .emacs file after installing it from the
> package manager, but when I load a .scss file it isn't in sass mode
> unless I specifically enter it (M-x sass-mode). Do I need to add some
> hook specifically for .scss files to enter sass-mode on start?
I don't know anything about this package, but reading the code, I notice
that files must have a .sass prefix to be "recognized" - see
(add-to-list 'auto-mode-alist '("\\.sass\\'" . sass-mode))
near the file's end.
If you think that it would be appropriate to assign a .scss suffix to
sass-mode as well, you should report this to the author.
Of course you can always add
(add-to-list 'auto-mode-alist '("\\.scss\\'" . sass-mode))
to your configuration.
Regards,
Michael.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-03-07 21:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-07 18:21 sass-mode in emacs does not start on file load strattonbrazil
2014-03-07 21:34 ` Michael Heerdegen
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.