------------------------------------------------------------ revno: 340 committer: Stefan Monnier <monn...@iro.umontreal.ca> branch nick: elpa timestamp: Thu 2013-01-24 18:36:39 -0500 message: * sml-mode.el (sml-mode-variables): Set sml-prog-proc-descriptor here... (sml-mode): ... instead of here. modified: packages/sml-mode/sml-mode.el
=== modified file 'packages/sml-mode/sml-mode.el' --- a/packages/sml-mode/sml-mode.el 2013-01-24 18:52:55 +0000 +++ b/packages/sml-mode/sml-mode.el 2013-01-24 23:36:39 +0000 @@ -1227,7 +1227,6 @@ This mode runs `sml-mode-hook' just before exiting. See also (info \"(sml-mode)Top\"). \\{sml-mode-map}" - (set (make-local-variable 'sml-prog-proc-descriptor) sml-pp-functions) (set (make-local-variable 'font-lock-defaults) sml-font-lock-defaults) (set (make-local-variable 'outline-regexp) sml-outline-regexp) (set (make-local-variable 'imenu-create-index-function) @@ -1254,6 +1253,7 @@ (sml-mode-variables)) (defun sml-mode-variables () + (set (make-local-variable 'sml-prog-proc-descriptor) sml-pp-functions) (set-syntax-table sml-mode-syntax-table) (setq local-abbrev-table sml-mode-abbrev-table) ;; Setup indentation and sexp-navigation.