I believe I found a bug in lilypond-mode (for version 1.3.150).
When I do M-x comment-region it does comment the region but it also
puts newlines after each line. I assume this is not intended.
Attached is a patch:
cd ~/music/lilypond-1.3.150/
diff -u /home/egli/music/lilypond-1.3.150/lilypond-mode.el\~ /home/egli/music/lilypond-1.3.150/lilypond-mode.el
--- /home/egli/music/lilypond-1.3.150/lilypond-mode.el~ Mon Apr 23 23:44:26 2001
+++ /home/egli/music/lilypond-1.3.150/lilypond-mode.el Thu Apr 26 17:01:48 2001
@@ -459,7 +459,7 @@
(setq comment-start-skip "%{? *")
(make-local-variable 'comment-end)
- (setq comment-end "\n")
+ (setq comment-end "")
(make-local-variable 'block-comment-start)
(setq block-comment-start "%{")
Diff finished at Mon Apr 30 21:23:41
--
Christian Egli
Switching Test Solutions AG an Acterna Company,
Foerrlibuckstrasse 62, CH-8037 Zuerich