浏览代码

fix eshell advice

pull/1/head
10sr 10 年前
父节点
当前提交
eaa3274568
共有 1 个文件被更改,包括 4 次插入2 次删除
  1. +4
    -2
      emacs.el

+ 4
- 2
emacs.el 查看文件

@@ -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/")


正在加载...
取消
保存