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

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

Re: define-key for fortran code


From: Emanuel Berg
Subject: Re: define-key for fortran code
Date: Sat, 29 May 2021 14:25:05 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

ludvig-faddeev wrote:

> Talking about fortran, I wonder if the following is the way
> to use "with-eval-after-load" for fortran.
>
> (with-eval-after-load 'fortran
>    (set-keybindings))
>
> (with-eval-after-load 'f90

In general, I do like this, first I set the key with the map,
if that works sometimes but not always I collect all of them
into a function and then call that function from the
modes hook.

I never used `with-eval-after-load', just seems complicated to
me but I have nothing more than that intuition to (not) back
it up...

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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