Browse Source

fix eshell advice

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

+ 4
- 2
emacs.el View File

@@ -1770,10 +1770,12 @@ if arg given, use that eshell buffer, otherwise make new eshell buffer."
;; do not cycle history
(around eshell-history-do-not-cycle activate)
(if (= 0
eshell-history-index)
(or eshell-history-index
0))
(progn
(delete-region eshell-last-output-end (point))
(insert-and-inherit eshell-matching-input-from-input-string))
(insert-and-inherit eshell-matching-input-from-input-string)
(setq eshell-history-index nil))
ad-do-it))

(setq eshell-directory-name "~/.emacs.d/eshell/")


Loading…
Cancel
Save