~breatheoutbreathein/chordpro-mode.el

c2e0d7e1b2d3b857678bc13cde9e2733cfb71e84 — Joseph Turner 8 months ago 327ff42
Remove: (-insert-chorus) Superceded by -insert-environment-directive
2 files changed, 2 insertions(+), 8 deletions(-)

M README.md
M chordpro-mode.el
M README.md => README.md +2 -1
@@ 31,7 31,6 @@ whitespace, and capitalizing chords.
* `C-M-n`    : Move chord at point forward PREFIX chars.
* `C-M-p`    : Move chord at point backward PREFIX chars
* `C-c m`    : Insert a comment directive
* `C-c h`    : Insert a chorus directive
* `C-c e`    : Insert an enviroment directive, e.g. `bridge`,
  `chorus`, `grid`, `tab`, or `verse`.
* `C-c t`    : Insert a title directive


@@ 119,6 118,8 @@ changes:

- Add `chordpro-insert-environment-directive` command and
  `chordpro-environment-directives` customization option
- Remove `chordpro-insert-chorus` (superceded by
  `chordpro-insert-environment-directive`)

### 2.1.0


M chordpro-mode.el => chordpro-mode.el +0 -7
@@ 226,12 226,6 @@ Uses `completing-read' to select among chords in current buffer."
  (interactive)
  (chordpro-insert-single-directive "subtitle"))

(defun chordpro-insert-chorus ()
  "Insert a chordpro chorus."
  (interactive)
  (insert "{start_of_chorus}\n\n{end_of_chorus}\n")
  (search-backward "\n" nil nil 2))

(defun chordpro-insert-environment-directive ()
  "Insert a chordpro environment directive."
  (interactive)


@@ 301,7 295,6 @@ external command."
  "C-c c"    #'chordpro-copy-chord-at-point
  "C-c x"    #'chordpro-copy-next-chord
  "C-c m"    #'chordpro-insert-comment
  "C-c h"    #'chordpro-insert-chorus
  "C-c e"    #'chordpro-insert-environment-directive
  "C-c t"    #'chordpro-insert-title
  "C-c s"    #'chordpro-insert-subtitle