Bernard Hurley <[EMAIL PROTECTED]> writes:

> Try putting this in ylur .emacs file:

Can that be done automatically, ie, does the Emacs for Windows
configuration know the concept of a site start directory, something
like:

   /etc/emacs/site-start.d

that we could copy the lilypond-init.el snippet to?

Also, could you tell were the other .ELs should be installed?
   
> (Yes the regular expression does contain 8 backslashes in a row!

Ah, that's nice.

> (defun LilyPond-master-file ()
>   (string-replace-match ".*\\(/\\|\\\\\\\)" (buffer-file-name) "" t t))

Could you make this conditional, for Cygwin only, so that we can
include it in lilypond-mode.el itself, something like:

  (defun LilyPond-master-file ()
    (if (on-cygwin-p)
      (string-replace-match ".*\\(/\\|\\\\\\\)" (buffer-file-name) "" t t))
      (buffer-file-name))

      
Jan.

-- 
Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org


_______________________________________________
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user

Reply via email to