Skip to content

Commit

Permalink
Fix #6947 by deriving conf-mode from text-mode
Browse files Browse the repository at this point in the history
  • Loading branch information
valignatev authored and TheBB committed Oct 17, 2016
1 parent 6332d50 commit f57df78
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions layers/+distributions/spacemacs-base/packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
(archive-mode :location built-in)
(bookmark :location built-in)
(centered-buffer-mode :location local)
(conf-mode :location built-in)
(dired :location built-in)
(dired-x :location built-in)
(electric-indent-mode :location built-in)
Expand Down Expand Up @@ -89,6 +90,11 @@
bookmark-save-flag 1)
(spacemacs/set-leader-keys "fb" 'bookmark-jump))))

(defun spacemacs-base/init-conf-mode ()
:init
;; explicitly derive conf-mode from text-mode major-mode
(add-hook 'conf-mode-hook 'spacemacs/run-text-mode-hooks))

(defun spacemacs-base/init-dired ()
(spacemacs/set-leader-keys
"ad" 'dired
Expand Down

0 comments on commit f57df78

Please sign in to comment.