* lilypond.words: give syntax definitions (LilyPond-insert-tag) for
\notes, \relative, \score, \simultaneous, \transpose.
+ * lilypond-mode.el: allow non-alpha characters only in menu keywords.
+
+ * lilypond.words: add useful `\context Staff =' and `\context Voice ='.
+
2003-08-01 Mats Bengtsson <mats.bengtsson@s3.kth.se>
* Documentation/topdocs/INSTALL.texi (Top): Documentation of the
(setq currword (car co))
(if (> (length currword) 1)
(if (and (string-equal "\\" (substring currword 0 1))
+ (not (string-match "[^a-zA-Z]" (substring currword 1)))
(string-equal (downcase currword) currword))
(add-to-list 'wordlist currword)))
(if (string-equal "-" (car (setq co (cdr co))))
(co (all-completions "" (LilyPond-add-dictionary-word ()))))
(progn
(while (> (length co) 0)
- (if (> (length (car co)) 1)
- (if (and (string-equal "\\" (substring (car co) 0 1))
- (not (string-equal (downcase (car co)) (car co))))
- (add-to-list 'wordlist (car co))))
+ (setq currword (car co))
+ (if (> (length currword) 1)
+ (if (and (string-equal "\\" (substring currword 0 1))
+ (not (string-match "[^a-zA-Z]" (substring currword 1)))
+ (not (string-equal (downcase currword) currword)))
+ (add-to-list 'wordlist currword)))
(if (string-equal "-" (car (setq co (cdr co))))
(while (and (> (length co) 0)
(not (string-equal "-" (car (setq co (cdr co)))))))))
(co (all-completions "" (LilyPond-add-dictionary-word ()))))
(progn
(while (> (length co) 0)
- (if (> (length (car co)) 0)
- (if (not (string-match "[^a-zA-Z]" (car co)))
- (add-to-list 'wordlist (car co))))
+ (setq currword (car co))
+ (if (> (length currword) 0)
+ (if (not (string-match "[^a-zA-Z]" currword))
+ (add-to-list 'wordlist currword)))
(if (string-equal "-" (car (setq co (cdr co))))
(while (and (> (length co) 0)
(not (string-equal "-" (car (setq co (cdr co)))))))))