Skip to content

Commit a2b77b9

Browse files
adqlbbatsov
authored andcommitted
Remove redundant autoload for markdown-mode
1 parent 0fdbc84 commit a2b77b9

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323

2424
### Changes
2525

26+
- Remove redundant addition to `auto-mode-alist` for Markdown
27+
(note: this reverts the default to `markdown-mode` instead of `gfm-mode`).
2628
- Bind all essential `avy` commands to their recommended keybindings.
2729
- Remove `company-lsp`.
2830
- Replace `yank-pop` key-binding to `counse-yank-pop` for `ivy-mode`.

core/prelude-packages.el

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -205,12 +205,6 @@ PACKAGE is installed only if not already present. The file is opened in MODE."
205205
("\\.yaml\\'" yaml-mode yaml-mode)
206206
("Dockerfile\\'" dockerfile-mode dockerfile-mode)))
207207

208-
;; markdown-mode doesn't have autoloads for the auto-mode-alist
209-
;; so we add them manually if it's already installed
210-
(when (package-installed-p 'markdown-mode)
211-
(add-to-list 'auto-mode-alist '("\\.markdown\\'" . gfm-mode))
212-
(add-to-list 'auto-mode-alist '("\\.md\\'" . gfm-mode)))
213-
214208
;; same with adoc-mode
215209
(when (package-installed-p 'adoc-mode)
216210
(add-to-list 'auto-mode-alist '("\\.adoc\\'" . adoc-mode))

0 commit comments

Comments
 (0)