Skip to content

Commit 65e5bbd

Browse files
committed
fix: ctag mode startup
1 parent 7eaa46b commit 65e5bbd

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

sdml-mode-ctags.el

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,10 @@ function `sdml-mode-ctags-tag-file-path'."
106106

107107
(defvar sdml-mode-ctags-mode-map
108108
(let ((map (make-sparse-keymap)))
109-
(define-key map (kbd "C-c C-s g") 'sdml-mode-ctags-generate))
109+
(define-key map (kbd "C-c C-s g") 'sdml-mode-ctags-generate)
110+
map)
110111
"Key map for SDML ctags minor mode.")
111112

112-
113113
;; --------------------------------------------------------------------------
114114
;; Ctags Minor Mode
115115
;; --------------------------------------------------------------------------
@@ -120,7 +120,7 @@ function `sdml-mode-ctags-tag-file-path'."
120120
"Minor mode to provide tagging of SDML source.
121121
122122
Key bindings:
123-
\\{sdml-mode-ctags-mode-map}"
123+
{sdml-mode-ctags-mode-map}"
124124

125125
:group 'sdml
126126

@@ -133,7 +133,7 @@ Key bindings:
133133
sdml-mode-ctags-mode-map))
134134

135135
(when (featurep 'company-ctags)
136-
(add-to-list 'company-ctags-modes 'sdml-mode)))
136+
(add-to-list 'company-ctags-modes 'sdml-mode-ctags-mode)))
137137

138138
(provide 'sdml-mode-ctags)
139139

sdml-mode.el

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ platform-specific extension in `tree-sitter-load-suffixes'."
217217
This command executes the SDML command-line tool's validation
218218
tool, on the file FILE-NAME, using the value of
219219
`sdml-mode-validation-level' to determine the level of messages
220-
output. The command uses the `compile' function and the resulting
220+
output. The command uses the `compile' function and the resulting
221221
window supports error navigation and source highlighting as
222222
usual."
223223
(interactive "fSDML File name: ")
@@ -229,7 +229,7 @@ usual."
229229
This command executes the SDML command-line tool's validation
230230
tool, on the current buffer's underlying file, using the value of
231231
`sdml-mode-validation-level' to determine the level of messages
232-
output. The command uses the `compile' function and the resulting
232+
output. The command uses the `compile' function and the resulting
233233
window supports error navigation and source highlighting as
234234
usual."
235235
(interactive nil sdml-mode)
@@ -245,9 +245,9 @@ usual."
245245
"Show full dependency graph in SVG of the current buffer.
246246
247247
This command generates an SVG representing the current buffer's
248-
dependencies as a directed graph. The command uses the SDML
248+
dependencies as a directed graph. The command uses the SDML
249249
command-line tool to generate a temporary file which is then
250-
opened in a new window. The resulting image window may be dismissed
250+
opened in a new window. The resulting image window may be dismissed
251251
using the key `q'."
252252
(interactive nil sdml-mode)
253253
(cond
@@ -268,9 +268,9 @@ using the key `q'."
268268
"Show the dependency tree of the current buffer, to a max DEPTH.
269269
270270
This command generates a textual tree representing the current
271-
buffer's dependencies. The command uses the SDML command-line
271+
buffer's dependencies. The command uses the SDML command-line
272272
tool to generate the tree, using DEPTH to denote how many levels
273-
of dependencies to display. The resulting window may be dismissed
273+
of dependencies to display. The resulting window may be dismissed
274274
using the key `q', and it's content may be refreshed with the key
275275
`g'."
276276
(interactive "nMax depth of tree (0=all): " sdml-mode)

0 commit comments

Comments
 (0)