Update markdown insert link, function renamed

Problem:
The insert link key binding `, i l` shows:
Wrong type argument: commandp, markdown-insert-link

Cause:
The markdown-mode package has renamed the `markdown-insert-link` function to:
`markdown-insert-inline-link-dwim`.

Solution:
Rename the key bindings function name.
Rename documentation to match the function name.
This commit is contained in:
duianto 2017-06-14 01:23:10 +02:00 committed by Eivind Fonn
parent 484a99dad0
commit 0f85e60c29
2 changed files with 2 additions and 2 deletions

View file

@ -103,7 +103,7 @@ To generate a table of contents type on top of the buffer:
| ~SPC m h 6~ | insert header atx 6 | | ~SPC m h 6~ | insert header atx 6 |
| ~SPC m h !~ | insert header setext 1 | | ~SPC m h !~ | insert header setext 1 |
| ~SPC m h @~ | insert header setext 2 | | ~SPC m h @~ | insert header setext 2 |
| ~SPC m i l~ | insert link | | ~SPC m i l~ | insert inline link dwim |
| ~SPC m i L~ | insert reference link dwim | | ~SPC m i L~ | insert reference link dwim |
| ~SPC m i u~ | insert uri | | ~SPC m i u~ | insert uri |
| ~SPC m i f~ | insert footnote | | ~SPC m i f~ | insert footnote |

View file

@ -114,7 +114,7 @@
"ii" 'markdown-insert-image "ii" 'markdown-insert-image
"ik" 'spacemacs/insert-keybinding-markdown "ik" 'spacemacs/insert-keybinding-markdown
"iI" 'markdown-insert-reference-image "iI" 'markdown-insert-reference-image
"il" 'markdown-insert-link "il" 'markdown-insert-inline-link-dwim
"iL" 'markdown-insert-reference-link-dwim "iL" 'markdown-insert-reference-link-dwim
"iw" 'markdown-insert-wiki-link "iw" 'markdown-insert-wiki-link
"iu" 'markdown-insert-uri "iu" 'markdown-insert-uri