mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-27 07:37:33 +00:00
(eshell-parse-double-quote): If a double-quoted argument resolves to
nil, return it as an empty string rather than as nil. This made it impossible to pass "" to a shell script as a null string argument.
This commit is contained in:
parent
5b317d7498
commit
b5306f7904
@ -342,8 +342,10 @@ special character that is not itself a backslash."
|
||||
(save-restriction
|
||||
(forward-char)
|
||||
(narrow-to-region (point) end)
|
||||
(list 'eshell-escape-arg
|
||||
(eshell-parse-argument)))
|
||||
(let ((arg (eshell-parse-argument)))
|
||||
(if (eq arg nil)
|
||||
""
|
||||
(list 'eshell-escape-arg arg))))
|
||||
(goto-char (1+ end)))))))
|
||||
|
||||
(defun eshell-parse-special-reference ()
|
||||
|
Loading…
Reference in New Issue
Block a user