Skip to content

Commit

Permalink
Fix deprecated params passed to define-minor mode (fixes purcell#780)
Browse files Browse the repository at this point in the history
  • Loading branch information
purcell authored and cdadar committed Jul 12, 2021
1 parent fa0d60a commit bb79952
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lisp/init-javascript.el
Expand Up @@ -108,7 +108,7 @@

(define-minor-mode inferior-js-keys-mode
"Bindings for communicating with an inferior js interpreter."
nil " InfJS" inferior-js-minor-mode-map)
:init-value nil :lighter " InfJS" :keymap inferior-js-minor-mode-map)

(dolist (hook '(js2-mode-hook js-mode-hook))
(add-hook hook 'inferior-js-keys-mode)))
Expand Down
2 changes: 1 addition & 1 deletion lisp/init-org.el
Expand Up @@ -134,7 +134,7 @@
This enables or modifies a number of settings so that the
experience of editing prose is a little more like that of a
typical word processor."
nil " Prose" nil
:init-value nil :lighter " Prose" :keymap nil
(if prose-mode
(progn
(when (fboundp 'writeroom-mode)
Expand Down
2 changes: 1 addition & 1 deletion lisp/init-purescript.el
Expand Up @@ -45,7 +45,7 @@ corresponding .purs file is open."

(define-minor-mode psc-ide-foreign-js-mode
"Rebuild corresponding purescript file."
nil
:init-value nil
:lighter " PursJS"
:global nil
(if psc-ide-foreign-js-mode
Expand Down

0 comments on commit bb79952

Please sign in to comment.