Skip to content

Commit 77c6aae

Browse files
Miciahpsanford
authored andcommitted
Fix quotation marks in the gofmt doc string
Fix the quotation marks in the doc string for gofmt so that Help mode makes hyperlinks. Follow-up to commit 99b06da. Also fix the quotation marks in the doc string for go--max-dangling-operator-length. * go-mode.el (go--max-dangling-operator-length): (gofmt): Fix quotation marks in doc strings. Closes: dominikh#271 [via git-merge-pr]
1 parent ed5c2cf commit 77c6aae

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

go-mode.el

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ function."
7373
(defconst go--max-dangling-operator-length 2
7474
"The maximum length of dangling operators.
7575
This must be at least the length of the longest string matched by
76-
‘go-dangling-operators-regexp.’, and must be updated whenever
77-
that constant is changed.")
76+
‘go-dangling-operators-regexp and must be updated whenever that
77+
constant is changed.")
7878

7979
(defconst go-identifier-regexp "[[:word:][:multibyte:]]+")
8080
(defconst go-type-name-no-prefix-regexp "\\(?:[[:word:][:multibyte:]]+\\.\\)?[[:word:][:multibyte:]]+")
@@ -1066,8 +1066,8 @@ with goflymake \(see URL `https://github.com/dougm/goflymake'), gocode
10661066
(defun gofmt ()
10671067
"Format the current buffer according to the formatting tool.
10681068
1069-
The tool used can be set via ‘gofmt-command` (default: gofmt) and additional
1070-
arguments can be set as a list via ‘gofmt-args`."
1069+
The tool used can be set via ‘gofmt-command (default: gofmt) and additional
1070+
arguments can be set as a list via ‘gofmt-args."
10711071
(interactive)
10721072
(let ((tmpfile (go--make-nearby-temp-file "gofmt" nil ".go"))
10731073
(patchbuf (get-buffer-create "*Gofmt patch*"))

0 commit comments

Comments
 (0)