[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: shell-unquote-argument: throws error if called outside a shell buffe
Re: shell-unquote-argument: throws error if called outside a shell buffer
Sat, 11 Mar 2017 18:48:12 -0800
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)
Andreas Politz <address@hidden> writes:
Yes, namespacing -- plus incomplete documentation.
shell-unquote-argument is a compiled Lisp function in `shell.el'.
Remove all kinds of shell quoting from STRING.
> I assume this is a problem of name-spaces. While `shell-quote-argument'
> lives in subr.el, where the prefix denotes "functionality related to
> shells", its would-be companion function `shell-unquote-argument' is
> defined in shell.el and is not supposed to be used outside that
> libraries scope (i.e. a *shell* buffer), as is e.g. shell-resync-dirs.