* Stefan Monnier (2005-06-15) writes: >> turning a mode on. Another possibility could be to recognize mode >> variables and call the respective mode functions with the given values >> if they are encountered. > > That would be good.
Actually a t value of the variable might have to be mapped to a value of 1 for the function argument and nil to 0 or -1. > Especially since it would solve the problem where you > can't both specify "text-mode" and "flyspell-mode" at the same time (IIRC > the first mode spec which changes the major mode prevents further mode > specs from being considered, but placing flyspell-mode before text-mode > makes no sense since text-mode turns off flylspell-mode). Hm, upon opening a file with name "test" and the contents Local Variables: mode: text mode: flyspell End: both modes are active. -- Ralf _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel