(run-hooks 'mathematica-m-mode-hook)
;(message "(run-hooks 'mathematica-m-mode-hook)")
- (show-paren-mode) ; show matching parentheses in color.
+ (show-paren-mode 1) ; show matching parentheses in color.
; it seems, that it doesn't work for me: I have to call it interactively.
(setq debug-flag 1)
)
-; add 'mathematica-m to the global variable features.
-;(provide 'mathematica-m)
+; add 'mathematica to the global variable features.
+(provide 'mathematica)
(define-key mathematica-comint-mode-map [pause] 'comint-interrupt-subjob)
(define-key mathematica-comint-mode-map [C-pause] 'comint-quit-subjob)
(define-key mathematica-comint-mode-map [tab] 'dabbrev-expand)
+ (define-key mathematica-comint-mode-map [C-up] 'comint-previous-matching-input-from-input)
(use-local-map mathematica-comint-mode-map)
; don't split the frame unless it is already split.