Greetings, Paul,

In my .emacs file, I have the following lines:

(add-to-list 'load-path "/usr/share/emacs/site-lisp/")
(autoload 'LilyPond-mode "lilypond-mode")
(setq auto-mode-alist
      (cons '("\\.ly$" . LilyPond-mode) auto-mode-alist))
(add-hook 'LilyPond-mode-hook (lambda () (turn-on-font-lock)))
(put 'narrow-to-region 'disabled nil)

The first line reflects where lilypond's emacs-mode files were located on
my system. Yours may be somewhere else. I hope this helps.

Hwaen Ch'uqi


On Wed, Sep 24, 2025 at 4:31 PM Paul Scott <waterhorsemu...@aol.com> wrote:

> I would appreciate some help installing Emacs mode.
>
> I have been successful before.
>
> I'm looking at:
>
> https://lilypond.org/doc/v2.25/Documentation/usage/emacs-mode
>
> and not quite understanding it.
>
> TIA for more help,
>
> Paul
>
>
>
>

Reply via email to