[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: scratch/tzz/tramp-histfile-override ef6a691: Introduce tramp-histfil
From: |
Ted Zlatanov |
Subject: |
Re: scratch/tzz/tramp-histfile-override ef6a691: Introduce tramp-histfile-override. |
Date: |
Thu, 18 Dec 2014 20:33:47 -0500 |
User-agent: |
Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (darwin) |
On Thu, 18 Dec 2014 11:52:40 -0700 Davis Herring <address@hidden> wrote:
TZ> +(defcustom tramp-histfile-override "/dev/null"
TZ> + "Whether the HISTFILE should be overridden to something. Set
TZ> +to nil to disable the override."
TZ> + :group 'tramp
TZ> + :type '(choice (const :tag "Do not override HISTFILE" nil)
TZ> + (const :tag "Empty the history (/dev/null)" "/dev/null")
TZ> + (string :tag "Redirect to a file")))
TZ> +
DH> This may be a trivial difference, but isn't it cleaner to unset HISTFILE
DH> than to set it to "/dev/null"?
Hi Davis,
this was pre-existing in Tramp. I think the difference is that
unsetting HISTFILE does not disable history.
Ted