Skip to content

Commit 6806755

Browse files
committed
Merge pull request #498 from petere/missing-autoload
Add missing autoload cookies
2 parents 06465e7 + 3bc0af5 commit 6806755

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

ghc-core.el

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ in the current buffer."
111111

112112
;;;###autoload
113113
(add-to-list 'auto-mode-alist '("\\.hcr\\'" . ghc-core-mode))
114+
;;;###autoload
114115
(add-to-list 'auto-mode-alist '("\\.dump-simpl\\'" . ghc-core-mode))
115116

116117
;;;###autoload

ghci-script-mode.el

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
("^:[a-z{]+ *\\+" . font-lock-keyword-face)
2828
("^:[a-z{]+ " . font-lock-keyword-face)))
2929

30+
;;;###autoload
3031
(define-derived-mode ghci-script-mode text-mode "GHCi-Script"
3132
"Major mode for working with .ghci files."
3233
(set (make-local-variable 'adaptive-fill-mode) nil)
@@ -48,7 +49,9 @@
4849
(set (make-local-variable 'dabbrev-abbrev-char-regexp) "\\sw\\|[.]")
4950
(setq haskell-literate nil))
5051

52+
;;;###autoload
5153
(add-to-list 'auto-mode-alist '("\\.ghci\\'" . ghci-script-mode))
54+
5255
(define-key ghci-script-mode-map (kbd "C-c C-l") 'ghci-script-mode-load)
5356

5457
(defun ghci-script-mode-load ()

0 commit comments

Comments
 (0)