Skip to content

Commit 1a7bce1

Browse files
kportertxjrblevin
authored andcommitted
Added refontify-buffer after calling gfm-mode so that links are highlighted correctly
1 parent fc754a4 commit 1a7bce1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

markdown-mode.el

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2314,7 +2314,10 @@ This is an exact copy of `line-number-at-pos' for use in emacs21."
23142314
;; Use visual-line-mode if available, fall back to longlines-mode:
23152315
(if (fboundp 'visual-line-mode)
23162316
(visual-line-mode 1)
2317-
(longlines-mode 1)))
2317+
(longlines-mode 1))
2318+
;; do the initial link fontification
2319+
(markdown-fontify-buffer-wiki-links))
2320+
23182321

23192322
(provide 'markdown-mode)
23202323

0 commit comments

Comments
 (0)