1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-28 08:11:05 -08:00
emacs/lisp/eshell
Jim Porter 7b0f24ab1f Fix behavior of 'eshell-hist-ignoredups' when set to 'erase'
* lisp/eshell/em-hist.el (eshell-add-input-to-history): Refactor to
use 'pcase' and correct the logic for the 'erase' case.

* test/lisp/eshell/em-hist-tests.el: Require our test helpers.
(eshell-write-readonly-history): Rename to...
(em-hist-test/write-readonly-history): ... this.
(em-hist-test/add-to-history/allow-dups)
(em-hist-test/add-to-history/no-consecutive-dups)
(em-hist-test/add-to-history/erase-dups): New tests (bug#63360).
2023-08-23 18:27:45 -07:00
..
em-alias.el Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
em-banner.el ; Don't require 'eshell' in other Eshell files 2023-02-15 15:45:50 -08:00
em-basic.el ; Don't require 'eshell' in other Eshell files 2023-02-15 15:45:50 -08:00
em-cmpl.el Enable remote file name completion in eshell depending on command (bug#65356) 2023-08-23 09:53:40 +02:00
em-dirs.el Fix listing of directory contents after "cd" in Eshell 2023-08-07 19:35:43 -07:00
em-elecslash.el Make 'eshell-bol' obsolete 2023-01-14 11:09:02 -08:00
em-extpipe.el Allow unloading Eshell 2023-02-15 17:31:52 -08:00
em-glob.el Allow splicing Eshell globs in-place 2023-08-21 11:42:46 -07:00
em-hist.el Fix behavior of 'eshell-hist-ignoredups' when set to 'erase' 2023-08-23 18:27:45 -07:00
em-ls.el Use connection-aware functions when getting the UID/GID in Eshell 2023-05-02 21:28:34 -07:00
em-pred.el Allow splicing Eshell globs in-place 2023-08-21 11:42:46 -07:00
em-prompt.el eshell-next-prompt: More precisely navigate to the prompt (bug#63748) 2023-06-15 09:40:12 -07:00
em-rebind.el Document optional Eshell modules 2023-07-01 12:03:56 -07:00
em-script.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-smart.el Make eshell-redisplay into alias for redisplay 2023-08-05 17:57:53 +02:00
em-term.el Add nvim and ncmpcpp to eshell-visual-commands 2023-08-02 21:57:15 +02:00
em-tramp.el ; Don't require 'eshell' in other Eshell files 2023-02-15 15:45:50 -08:00
em-unix.el Add 'compile' builtin command for Eshell 2023-08-16 10:01:49 -07:00
em-xtra.el ; Don't require 'eshell' in other Eshell files 2023-02-15 15:45:50 -08:00
esh-arg.el Return separators from 'eshell-split-commands' directly when requested 2023-08-10 10:55:49 -07:00
esh-cmd.el Return separators from 'eshell-split-commands' directly when requested 2023-08-10 10:55:49 -07:00
esh-ext.el Add support for explicitly-remote commands in Eshell 2023-07-10 12:27:09 -07:00
esh-io.el ; * lisp/eshell/esh-io.el (eshell-virtual-target): Remove default constructor. 2023-08-22 09:11:13 -07:00
esh-mode.el ; Throw strings as the values for 'eshell-incomplete' 2023-02-23 14:09:36 -08:00
esh-module.el Allow unloading Eshell 2023-02-15 17:31:52 -08:00
esh-opt.el Allow unloading Eshell 2023-02-15 17:31:52 -08:00
esh-proc.el ; Add tests for synchronous processes in Eshell 2023-04-02 14:15:45 -07:00
esh-util.el Make eshell-redisplay into alias for redisplay 2023-08-05 17:57:53 +02:00
esh-var.el Support 'comint-pager' in Eshell 2023-08-23 16:46:25 -07:00
eshell.el Use the 'interactive' spec to set arguments for 'eshell-command' 2023-04-02 15:05:53 -07:00