bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#25271: 26.0.50; [PATCH] comint-insert-previous-argument logic improv


From: Dima Kogan
Subject: bug#25271: 26.0.50; [PATCH] comint-insert-previous-argument logic improvements
Date: Sun, 17 Jun 2018 19:25:03 -0700
User-agent: mu4e 0.9.19; emacs 25.2.2

Noam Postavsky <npostavs@gmail.com> writes:

> Dima Kogan <dima@secretsauce.net> writes:
>
>> +(defvar-local comint-insert-previous-argument-from-end nil
>
>> +This variable is buffer-local.  To get the zsh behavior in `M-x
>> +shell' sessions, do something like this:
>> +
>> +    (add-hook
>> +      'shell-mode-hook
>> +        (lambda ()
>> +          (setq comint-insert-previous-argument-from-end t)))")
>> +
>
> Seems simpler to just make it a defcustom.  The user could still
> setq-local if they really want per-buffer settings.

Yes. I agree, actually. Want a new patch, and we can merge this?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]