emacs: make small tweak to the spacing of M-x shell config

This commit is contained in:
Protesilaos Stavrou 2025-06-23 07:48:15 +03:00
parent b960658234
commit 8c875be390
No known key found for this signature in database
GPG key ID: 99BD6459CD5CA3EA
2 changed files with 4 additions and 6 deletions

View file

@ -482,7 +482,7 @@ word. Fall back to regular `expreg-expand'."
:ensure t
:commands (pass))
;;; Shell (M-x shell)
;;; Standard Unix Shell (M-x shell)
(use-package shell
:ensure nil
:bind
@ -508,9 +508,8 @@ word. Fall back to regular `expreg-expand'."
;; # Quit once you try to scroll past the end of the file.
;; export PAGER="less --quit-at-eof"
;; fi
(setq shell-command-prompt-show-cwd t) ; Emacs 27.1
(setq ansi-color-for-comint-mode t)
(setq shell-command-prompt-show-cwd t) ; Emacs 27.1
(setq shell-input-autoexpand 'input)
(setq shell-highlight-undef-enable t) ; Emacs 29.1
(setq shell-has-auto-cd nil) ; Emacs 29.1

View file

@ -3525,7 +3525,7 @@ me to that shell in its directory. Relevant note from my source code:
Now the actual configurations:
#+begin_src emacs-lisp :tangle "prot-emacs-modules/prot-emacs-essentials.el"
;;; Shell (M-x shell)
;;; Standard Unix Shell (M-x shell)
(use-package shell
:ensure nil
:bind
@ -3551,9 +3551,8 @@ Now the actual configurations:
;; # Quit once you try to scroll past the end of the file.
;; export PAGER="less --quit-at-eof"
;; fi
(setq shell-command-prompt-show-cwd t) ; Emacs 27.1
(setq ansi-color-for-comint-mode t)
(setq shell-command-prompt-show-cwd t) ; Emacs 27.1
(setq shell-input-autoexpand 'input)
(setq shell-highlight-undef-enable t) ; Emacs 29.1
(setq shell-has-auto-cd nil) ; Emacs 29.1