On Mon, May 3, 2021 at 10:46 PM Robert Weiner <r...@gnu.org> wrote:

> On Mon, May 3, 2021 at 1:21 PM David Bertenshaw <djber...@gmail.com>
> wrote:
>
>> Hi,
>
>
>> Secondly: how do I turn off the smart-scrolling *completely* everywhere.
>> I know how to swap its behaviour from one form of scrolling to another,
>> but I never want the Action Key to trigger scrolling, and I can't see a
>> way in the manual to do this.
>>
>
> There are two variables that determine what happens when the Action or
> Assist keys are pressed at the end of the line:
>
> action-key-eol-function and assist-key-eol-function
>
> So add these two lines to make these do nothing:
>
> (setq action-key-eol-function #'end-of-line)
>       assist-key-eol-function #'end-of-line)
>

You can instead more generally bind these two variable to the 'ignore'
function which does nothing:

(setq action-key-eol-function #'ignore
      assist-key-eol-function #'ignore)

Bob

>
>

Reply via email to