[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#63432: 30.0.50; Handle current-prefix-arg in async-shell-command
From: |
Gabriel |
Subject: |
bug#63432: 30.0.50; Handle current-prefix-arg in async-shell-command |
Date: |
Wed, 10 May 2023 20:04:24 -0300 |
Severity: bug
Steps:
1) emacs -Q from master branch (3adc1e7f379)
2) C-u M-& "ls"
Error: shell-command: Wrong type argument: stringp, (4)
Cause:
When called interactively, `async-shell-command' pass argument
OUTPUT-BUFFER as `current-prefix-arg' to `shell-command'. As per
docstring of `shell-command':
"If OUTPUT-BUFFER is not a buffer and not nil (which happens
interactively when the prefix argument is given), insert the output in
current buffer after point leaving mark after it. This cannot be done
asynchronously."
Patch:
0001-Handle-current-prefix-arg-in-async-shell-command.patch
Description: Text Data
---
Gabriel
- bug#63432: 30.0.50; Handle current-prefix-arg in async-shell-command,
Gabriel <=