Tags: patch esh-mode.el has a repeated call to 'custom-add-option': (custom-add-option 'eshell-pre-command-hook 'eshell-push-command-mark) From context, I assume the latter was intended for a different second argument. The patch is attached. Best regards, Mauro.