[Top][All Lists]

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

Re: with-eval-after-load with sh-mode

From: Arthur Miller
Subject: Re: with-eval-after-load with sh-mode
Date: Fri, 02 Jul 2021 10:42:38 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) writes:

> How can I use `with-eval-after-load` with sh-mode?
> Basically I want to defer call to sh-mode-map until sh-mode is loaded
> (with-eval-after-load 'sh

Try this:

(with-eval-after-load 'sh-script
  (message "My cool one-time config follows here ..."))

sh-mode is defined in lisp/progmodes/sh-script.el.

reply via email to

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