severity 19627 minor quit Samer Masterson writes: > 1. "emacs -Q" > 2. M-x eshell > 3. "git --help" prints the help text to the buffer > 4. (add-to-list 'eshell-visual-options '("git" "--help")) > 5. "git --help" brings up the term display (which is quickly killed, > that is bug#18108) > 6. (add-to-list 'eshell-visual-options '("git" "--help")) I guess you actually meant "--version" rather than "--help" again here. > 7. "git --help" > bug: > "git --help" prints the help text to the buffer. > expected behavior: > "git --help" should have brought up a term-mode buffer, as it's still > part of eshell-visual-options. eshell-visual-options is an alist (as mentioned in the docstring), so the newest "git" entry decides which options are in force. To get what you want, you should do: (add-to-list 'eshell-visual-options '("git" "--help" "--version")) or possibly (push "--version" (cdr (assoc "git" eshell-visual-options))) Maybe the docs can be improved to explain this better. Is it enough to change the example usage to have 2 different options?