Skip to content

Commit

Permalink
Merge 18c3055 into 09745ba
Browse files Browse the repository at this point in the history
  • Loading branch information
ssb22 committed May 2, 2018
2 parents 09745ba + 18c3055 commit c3ff42e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion d-mode.el
Expand Up @@ -37,6 +37,9 @@
;; (autoload 'd-mode "d-mode" "Major mode for editing D code." t)
;; (add-to-list 'auto-mode-alist '("\\.d[i]?\\'" . d-mode))
;;
;; Alternatively you can load d-mode.el explicitly:
;; (load "d-mode.el")
;;
;; cc-mode version 5.30 or greater is required.
;; You can check your cc-mode with the command M-x c-version.
;; You can get the latest version of cc-mode at http://cc-mode.sourceforge.net
Expand Down Expand Up @@ -709,7 +712,8 @@ The expression is added to `compilation-error-regexp-alist' and
(advice-add 'c-add-stmt-syntax :around #'d-around--c-add-stmt-syntax))

;;----------------------------------------------------------------------------
;;;###autoload (add-to-list 'auto-mode-alist '("\\.d[i]?\\'" . d-mode))
;;;###autoload
(add-to-list 'auto-mode-alist '("\\.d[i]?\\'" . d-mode))

;; Custom variables
;;;###autoload
Expand Down

0 comments on commit c3ff42e

Please sign in to comment.