bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#16837: 24.3.50; Allow a HISTORY arg for `read-file-name', `read-file


From: Lars Ingebrigtsen
Subject: bug#16837: 24.3.50; Allow a HISTORY arg for `read-file-name', `read-file-name-default'
Date: Fri, 29 Apr 2016 19:39:13 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Drew Adams <address@hidden> writes:

> Please consider allowing an optional HISTORY arg to these functions
> (with the default value being of course `file-name-history').
>
> It can happen that someone wants the behavior of one of these functions,
> but with a different file-name history, such as `shell-command-history'.

Yes, that seems potentially useful.  It currently uses the hard-coded
`file-name-history' history.

Anybody have any objections to adding this?  I see one possible
complication -- it'll be Yet Another Optional Parameter that has to be
passed on to `read-file-name-function', and if somebody has defined that
to take fewer parameters, it'll bomb...

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]