Skip to content

Commit a5c178b

Browse files
authored
Merge pull request #63 from Alf0nso/main
fix[sclang-minor-mode.el Warning]: deprecated positional arguments
2 parents d8296a9 + c13ee83 commit a5c178b

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

el/sclang-minor-mode.el

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,17 @@ Null prefix argument turns off the mode.
2828
When sclang-minor-mode is enabled, you can execute
2929
sclang code with the normal command C-c C-c and C-c C-d."
3030
;; The initial value.
31-
nil
31+
:init-value nil
3232
;; The indicator for the mode line.
33-
" sclang"
33+
:lighter " sclang"
3434
;; The minor mode bindings.
35-
'(("\C-c\C-c" . sclang-eval-region-or-line)
36-
("\C-c\C-d" . sclang-eval-region)
37-
("\C-\M-x" . sclang-eval-defun)
38-
("\C-c\C-h" . sclang-find-help)
39-
("\C-\M-h" . sclang-goto-help-browser)
40-
("\C-c\C-s" . sclang-main-stop)
41-
("\C-c\C-k" . sclang-edit-dev-source)
35+
:keymap '(("\C-c\C-c" . sclang-eval-region-or-line)
36+
("\C-c\C-d" . sclang-eval-region)
37+
("\C-\M-x" . sclang-eval-defun)
38+
("\C-c\C-h" . sclang-find-help)
39+
("\C-\M-h" . sclang-goto-help-browser)
40+
("\C-c\C-s" . sclang-main-stop)
41+
("\C-c\C-k" . sclang-edit-dev-source)
4242
))
4343

4444
(provide 'sclang-minor-mode)
@@ -52,18 +52,18 @@ Null prefix argument turns off the mode.
5252
When sclang-help-minor-mode is enabled, you can execute
5353
sclang code with the normal command C-c C-c and C-c C-d."
5454
;; The initial value.
55-
nil
55+
:init-value nil
5656
;; The indicator for the mode line.
57-
" sclang-help"
57+
:lighter " sclang-help"
5858
;; The minor mode bindings.
59-
'(("\C-c\C-c" . sclang-eval-region-or-line)
60-
("\C-c\C-d" . sclang-eval-region)
61-
("\C-\M-x" . sclang-eval-defun)
62-
("\C-c\C-h" . sclang-find-help)
63-
("\C-c\C-s" . sclang-main-stop)
64-
("\C-c\C-v" . sclang-edit-html-help-file)
65-
("E" . sclang-edit-help-code)
66-
("\C-c\C-k" . sclang-edit-dev-source)
59+
:keymap '(("\C-c\C-c" . sclang-eval-region-or-line)
60+
("\C-c\C-d" . sclang-eval-region)
61+
("\C-\M-x" . sclang-eval-defun)
62+
("\C-c\C-h" . sclang-find-help)
63+
("\C-c\C-s" . sclang-main-stop)
64+
("\C-c\C-v" . sclang-edit-html-help-file)
65+
("E" . sclang-edit-help-code)
66+
("\C-c\C-k" . sclang-edit-dev-source)
6767
))
6868

6969
(provide 'sclang-help-minor-mode)

0 commit comments

Comments
 (0)