[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#34815: 26.1; read-shell-command globally sets comint-input-autoexpan
bug#34815: 26.1; read-shell-command globally sets comint-input-autoexpand to 'history
Mon, 11 Mar 2019 13:52:15 -0700
Yes, replacing setq with setq-local seems to fix the issue.
Eli Zaretskii <address@hidden> writes:
>> From: address@hidden
>> Date: Mon, 11 Mar 2019 11:08:42 -0700
>> Calling "shell-command", "async-shell-command", or any other command
>> calling "read-shell-command", globally sets the variable
>> "comint-input-autoexpand" to 'history. "comint-input-autoexpand" is
>> supposed to be a buffer-local variable with a default value of nil, and
>> setting it globally can interfere with other shells that use the "!"
>> symbol, e.g. the IPython shell.
> Does it help to replace setq with setq-local in shell-completion-vars
> where it sets the value of comint-input-autoexpand?