switch on show-paren-mode unconditionally
[hemmecke/mathematica-el.git] / mathematica.el
index 02a9ca8..62404f6 100644 (file)
@@ -371,7 +371,7 @@ 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)
 )
@@ -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.