Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (17 sloc) 0.905 kb

Description

This emacs mode provides a major mode for the song files ".sg" of the Patacrep Songbook.

Screenshot

songbook-emacs-mode

Install

Move the file songbook.el in the emacs load path. For example :

mkdir -p ~/.config/emacs/
cp songbook.el ~/.config/emacs/

Then, configure your `.emacs' to associate automatically the songbook-mode with sg files :

echo "(setq load-path (cons \"~/.config/emacs\" load-path))" >> ~/.emacs
echo "(setq auto-mode-alist (cons '(\"\\.sg$\" . songbook-mode) auto-mode-alist))" >> ~/.emacs
echo "(setq auto-mode-alist (cons '(\"\\.sbd$\" . songbook-mode) auto-mode-alist))" >> ~/.emacs
echo "(autoload 'songbook-mode \"songbook\" \"Major mode for Patacrep's songbooks\" t)" >> ~/.emacs

Jump to Line
Something went wrong with that request. Please try again.