Skip to content

Commit 2f681cc

Browse files
committed
Merge pull request #1307 from gracjan/pr-fix-completions-hook
Autoload haskell-completions-completion-at-point
2 parents 62a9450 + 9ee7d6d commit 2f681cc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

haskell-completions.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ PREFIX should be a list such one returned by
301301
haskell-completions--keywords)))))
302302
(list beg end candidates)))))
303303

304-
304+
;;;###autoload
305305
(defun haskell-completions-completion-at-point ()
306306
"Provide completion list for thing at point.
307307
This function is used in non-interactive `haskell-mode'. It

haskell-mode.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -838,7 +838,7 @@ Minor modes that work well with `haskell-mode':
838838
(add-hook 'after-save-hook 'haskell-mode-after-save-handler nil t)
839839
;; provide non-interactive completion function
840840
(add-hook 'completion-at-point-functions
841-
#'haskell-completions-completion-at-point
841+
'haskell-completions-completion-at-point
842842
nil
843843
t)
844844
(haskell-indentation-mode))

0 commit comments

Comments
 (0)