From 6480d7d7592ec550b87e6f7c5ba2cbb9cf555b85 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Fri, 9 Jan 2015 15:37:48 +0900 Subject: [PATCH] Fix bug in setup of term-mode --- emacs.el | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/emacs.el b/emacs.el index 0dc6758..38d5b05 100644 --- a/emacs.el +++ b/emacs.el @@ -1370,7 +1370,7 @@ found, otherwise returns nil." (unless (memq (current-buffer) (and (featurep 'multi-term) ;; current buffer is not multi-term buffer - (multi-term-list))) + multi-term-buffer-list)) ;; (define-key term-raw-map "\C-q" 'move-beginning-of-line) ;; (define-key term-raw-map "\C-r" 'term-send-raw) ;; (define-key term-raw-map "\C-s" 'term-send-raw) @@ -2191,6 +2191,10 @@ if arg given, use that eshell buffer, otherwise make new eshell buffer." ;; 'eshell-clear) (define-key eshell-mode-map (kbd "DEL") 'my-eshell-backward-delete-char) + (define-key eshell-mode-map (kbd "") + 'scroll-down-line) + (define-key eshell-mode-map (kbd "") + 'scroll-up-line) (define-key eshell-mode-map (kbd "C-p") 'eshell-previous-matching-input-from-input) (define-key eshell-mode-map @@ -2323,7 +2327,7 @@ ARG is ignored." "Run COMMAND in terminal emulator. If NEW-BUFFER-P is given or called with prefix argument, generate new buffer and set the buffer the process buffer. Otherwise, existing buffer will be used." - (interactive (list (read-shell-command "Run program: " + (interactive (list (read-shell-command "Shell Command: " nil 'term-shell-command-history) current-prefix-arg))