emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ELPA-diffs] /srv/bzr/emacs/elpa r340: * sml-mode.el (sml-mode-variables


From: Stefan Monnier
Subject: [ELPA-diffs] /srv/bzr/emacs/elpa r340: * sml-mode.el (sml-mode-variables): Set sml-prog-proc-descriptor here...
Date: Thu, 24 Jan 2013 18:36:39 -0500
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 340
committer: Stefan Monnier <address@hidden>
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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]