On 9/24/25 3:34 PM, Hwaen Ch'uqi wrote:
Greetings, Paul,

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

I have a .emacs.d directory which has:

aul@gotojoy5:~$ ll .emacs.d/
total 8
drwx------ 2 paul paul 4096 Sep 24 13:30 auto-save-list
drwxrwxr-x 3 paul paul 4096 Sep 21 22:49 eln-cache


(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