diff options
Diffstat (limited to 'lisp/progmodes/mixal-mode.el')
-rw-r--r-- | lisp/progmodes/mixal-mode.el | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/lisp/progmodes/mixal-mode.el b/lisp/progmodes/mixal-mode.el index b9f60598f63..1f88e87c651 100644 --- a/lisp/progmodes/mixal-mode.el +++ b/lisp/progmodes/mixal-mode.el @@ -1141,18 +1141,18 @@ Assumes that file has been compiled with debugging support." ;;;###autoload (define-derived-mode mixal-mode prog-mode "mixal" "Major mode for the mixal asm language." - (set (make-local-variable 'comment-start) "*") - (set (make-local-variable 'comment-start-skip) "^\\*[ \t]*") - (set (make-local-variable 'font-lock-defaults) - '(mixal-font-lock-keywords)) - (set (make-local-variable 'syntax-propertize-function) - mixal-syntax-propertize-function) + (setq-local comment-start "*") + (setq-local comment-start-skip "^\\*[ \t]*") + (setq-local font-lock-defaults + '(mixal-font-lock-keywords)) + (setq-local syntax-propertize-function + mixal-syntax-propertize-function) ;; might add an indent function in the future - ;; (set (make-local-variable 'indent-line-function) 'mixal-indent-line) - (set (make-local-variable 'compile-command) - (concat "mixasm " - (if buffer-file-name - (shell-quote-argument buffer-file-name))))) + ;; (setq-local indent-line-function 'mixal-indent-line) + (setq-local compile-command + (concat "mixasm " + (if buffer-file-name + (shell-quote-argument buffer-file-name))))) (provide 'mixal-mode) |