switch on show-paren-mode unconditionally
[hemmecke/mathematica-el.git] / mathematica.el
index e7c4c90..62404f6 100644 (file)
@@ -371,13 +371,13 @@ Turning on mathematica-m-mode runs the hook `mathematica-m-mode-hook'.
   (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)
 
 
 
@@ -452,6 +452,7 @@ subjob if any.
   (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.