Convert load calls to require
This commit is contained in:
parent
843d250189
commit
30436e3e53
|
@ -11,14 +11,14 @@
|
|||
("M-N" . cp-lower-level)
|
||||
("C-c C-w" . cp-ly-wrap-para))
|
||||
:commands LilyPond-mode
|
||||
:load-path "../user/"
|
||||
:mode (("\\.ly$" . LilyPond-mode)
|
||||
("\\.ily$" . LilyPond-mode))
|
||||
:config
|
||||
(--map (add-hook 'LilyPond-mode-hook it)
|
||||
'(subword-mode
|
||||
(lambda () (turn-on-font-lock))))
|
||||
(defalias 'string-to-int #'string-to-number)
|
||||
:load-path "../user/"
|
||||
:mode (("\\.ly$" . LilyPond-mode)
|
||||
("\\.ily$" . LilyPond-mode)))
|
||||
|
||||
(defvar cp/ly-definition-rx
|
||||
'(and bol
|
||||
|
@ -159,8 +159,10 @@ TODO - wrap region if region active"
|
|||
;; FIXME
|
||||
(goto-char (pcase arg
|
||||
(0 point-a)
|
||||
(_ (- indent-start 2)))))))
|
||||
(_ (- indent-start 2))))))))
|
||||
|
||||
;; TODO - cp-ly-new-var, bind to M-RET.
|
||||
;; Exits current variable body, if in any, and inserts "| = \relative
|
||||
;; c {\n\n \n}", where | is the cursor
|
||||
|
||||
(provide 'cp-lily)
|
||||
|
|
|
@ -24,3 +24,5 @@
|
|||
|
||||
(define-key sfz-mode-map (kbd "M-p") 'sfz-prev-group)
|
||||
(define-key sfz-mode-map (kbd "M-n") 'sfz-next-group)
|
||||
|
||||
(provide 'cp-sfz)
|
||||
|
|
Loading…
Reference in New Issue