diff options
| author | jao <jao@gnu.org> | 2026-09-02 10:33:45 +0100 |
|---|---|---|
| committer | jao <jao@gnu.org> | 2026-09-02 10:33:45 +0100 |
| commit | 5d1e94064f016e358053b01d62f4e1628167f115 (patch) | |
| tree | c140242f593aa1395ce4aaa7d71215ff42689aec | |
| parent | 28fe029f7ca5eee17a67d48ba91b3f0eeec523c5 (diff) | |
| download | elibs-5d1e94064f016e358053b01d62f4e1628167f115.tar.gz elibs-5d1e94064f016e358053b01d62f4e1628167f115.tar.bz2 | |
more nits
| -rw-r--r-- | custom/jao-custom-completion.el | 2 | ||||
| -rw-r--r-- | custom/jao-custom-programming.el | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/custom/jao-custom-completion.el b/custom/jao-custom-completion.el index 6317165..9724a18 100644 --- a/custom/jao-custom-completion.el +++ b/custom/jao-custom-completion.el @@ -116,7 +116,7 @@ :ensure t :bind (("C-x M-:" . consult-complex-command) ("C-x b" . consult-buffer) - ("C-x C-b" . switch-to-buffer) + ("C-x C-b" . consult-buffer) ("C-x 4 b" . consult-buffer-other-window) ("C-c b" . project-find-file) ("C-c h" . nil) diff --git a/custom/jao-custom-programming.el b/custom/jao-custom-programming.el index af81144..9f5f606 100644 --- a/custom/jao-custom-programming.el +++ b/custom/jao-custom-programming.el @@ -656,6 +656,8 @@ (defun jao-inferior-python-mode-hook () (setq-local comint-input-ring-file-name "~/.emacs.d/cache/python_history") (comint-read-input-ring 'silent) + (set-process-sentinel (get-buffer-process (current-buffer)) + (lambda (_p _e) (comint-write-input-ring))) (add-hook 'kill-buffer-hook #'comint-write-input-ring nil t)) :hook ((python-base-mode . jao-python-mode-hook) |
