factor.el: minor additions
parent
d46de0ae59
commit
3cc32597f8
|
@ -158,6 +158,11 @@
|
|||
(insert str)
|
||||
(comint-send-input))))
|
||||
|
||||
(defun factor-send-definition ()
|
||||
(interactive)
|
||||
(factor-send-region (search-backward ":")
|
||||
(search-forward ";")))
|
||||
|
||||
(defun factor-see ()
|
||||
(interactive)
|
||||
(comint-send-string "*factor*" "\\ ")
|
||||
|
@ -187,6 +192,7 @@
|
|||
|
||||
(define-key factor-mode-map "\C-c\C-f" 'factor-run-file)
|
||||
(define-key factor-mode-map "\C-c\C-r" 'factor-send-region)
|
||||
(define-key factor-mode-map "\C-c\C-d" 'factor-send-definition)
|
||||
(define-key factor-mode-map "\C-c\C-s" 'factor-see)
|
||||
(define-key factor-mode-map "\C-ce" 'factor-edit)
|
||||
(define-key factor-mode-map "\C-c\C-h" 'factor-help)
|
||||
|
@ -212,3 +218,5 @@
|
|||
(defun factor-refresh-all ()
|
||||
(interactive)
|
||||
(comint-send-string "*factor*" "refresh-all\n"))
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue