summaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2023-07-25 04:39:10 +0100
committerjao <jao@gnu.org>2023-07-25 04:39:10 +0100
commit73a964e2d5877b705d94f984b4a61dc0f5903cab (patch)
treea658fc2c5aa9e2bd666680ab4ed0db902b76b959 /lib
parentf82495d2c78b2829b6b73d2b01050bea6bd38c7e (diff)
downloadelibs-73a964e2d5877b705d94f984b4a61dc0f5903cab.tar.gz
elibs-73a964e2d5877b705d94f984b4a61dc0f5903cab.tar.bz2
eshell: stop messing with history (hopefully it was that)
Diffstat (limited to 'lib')
-rw-r--r--lib/eos/jao-eshell-here.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/eos/jao-eshell-here.el b/lib/eos/jao-eshell-here.el
index cf29e31..54d58f0 100644
--- a/lib/eos/jao-eshell-here.el
+++ b/lib/eos/jao-eshell-here.el
@@ -1,6 +1,6 @@
;;; jao-eshell-here.el --- Easy opening of eshell buffers -*- lexical-binding: t; -*-
-;; Copyright (C) 2021 jao
+;; Copyright (C) 2021, 2023 jao
;; Author: jao <mail@jao.io>
;; Keywords: eshell
@@ -64,7 +64,7 @@ C-u) open in the current's buffer default dir."
(jao-with-attached-buffer "^\\*eshell" 0.5
(if (buffer-live-p b)
(progn (pop-to-buffer b nil t)
- (eshell-save-some-history)
+ ;; (eshell-save-some-history)
(when dir (jao-eshell--cd-here dir)))
(let ((default-directory (or dir default-directory)))
(eshell (when force-new 4)))
@@ -75,7 +75,7 @@ C-u) open in the current's buffer default dir."
(when (derived-mode-p 'eshell-mode)
(when (fboundp 'eshell-autojump-save)
(eshell-autojump-save))
- (eshell-save-some-history)
+ ;; (eshell-save-some-history)
(if (> (frame-height) (window-height))
(delete-window)
(bury-buffer))))