From bcf1935a1ae656ae39cb70caf41d80b8b4310b13 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Thu, 24 Jan 2013 18:36:39 -0500 Subject: [PATCH] * sml-mode.el (sml-mode-variables): Set sml-prog-proc-descriptor here... (sml-mode): ... instead of here. --- packages/sml-mode/sml-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/sml-mode/sml-mode.el b/packages/sml-mode/sml-mode.el index 3fa096657..1f65f6aaa 100644 --- a/packages/sml-mode/sml-mode.el +++ b/packages/sml-mode/sml-mode.el @@ -1227,7 +1227,6 @@ TAB file name completion, as in shell-mode, etc.." 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 @@ See also (info \"(sml-mode)Top\"). (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. -- 2.39.2