Browse Source

emacs.el: my-term-shell-command: Print colorized output

pull/1/head
10sr 10 years ago
parent
commit
bec09d047f
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      emacs.el

+ 4
- 2
emacs.el View File

@@ -2361,8 +2361,10 @@ COMMAND."
(lambda (proc change) (lambda (proc change)
(with-current-buffer (process-buffer proc) (with-current-buffer (process-buffer proc)
(term-sentinel proc change) (term-sentinel proc change)
(goto-char (point-max)))))
;; (goto-char (point-max))
(goto-char (point-max))
(fundamental-mode))))
(fundamental-mode)
(goto-char (point-max))
)))) ))))
(define-key ctl-x-map ":" 'my-term-shell-command) (define-key ctl-x-map ":" 'my-term-shell-command)




Loading…
Cancel
Save