diff options
author | Jay Kamat <jaygkamat@gmail.com> | 2018-05-08 12:04:00 -0700 |
---|---|---|
committer | Noam Postavsky <npostavs@gmail.com> | 2018-05-15 19:32:49 -0400 |
commit | 92a8230e49a65be48442ee95cf50c90514e48f99 (patch) | |
tree | 735c5251e8cdfba3f0d488851e71e8ddf9099ebb /lisp/emacs-lisp/lisp-mnt.el | |
parent | 3cc714d1024c3e51a7dd996678d07dbf73de2306 (diff) | |
download | emacs-92a8230e49a65be48442ee95cf50c90514e48f99.tar.gz emacs-92a8230e49a65be48442ee95cf50c90514e48f99.tar.bz2 emacs-92a8230e49a65be48442ee95cf50c90514e48f99.zip |
esh-opt.el: Fix improper parsing of first argument (Bug#28323)
Examples of broken behavior:
sudo -u root whoami
Outputs: -u
ls -I '*.txt' /dev/null
Errors with: *.txt: No such file or directory
* lisp/eshell/esh-opt.el (eshell--process-args): Refactor usage of
args to eshell--args, as we rely on modifications from
eshell--process-option and vice versa. These modifications were not
being propogated in the (if (= ai 0)) case, since popping the first
element of a list doesn't destructively modify the underlying list
object.
Diffstat (limited to 'lisp/emacs-lisp/lisp-mnt.el')
0 files changed, 0 insertions, 0 deletions