emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/go-mode 77c6aae 422/495: Fix quotation marks in the gofmt


From: ELPA Syncer
Subject: [nongnu] elpa/go-mode 77c6aae 422/495: Fix quotation marks in the gofmt doc string
Date: Sat, 7 Aug 2021 09:06:01 -0400 (EDT)

branch: elpa/go-mode
commit 77c6aae6cb748127c2a533b568332df2eba65f7c
Author: Miciah Masters <miciah.masters@gmail.com>
Commit: Peter Sanford <psanford@sanford.io>

    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 99b06da201afb91e8db0c525c0f3c3590fd92fa6.
    
    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: #271 [via git-merge-pr]
---
 go-mode.el | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/go-mode.el b/go-mode.el
index fed6262..e19df3b 100644
--- a/go-mode.el
+++ b/go-mode.el
@@ -73,8 +73,8 @@ function."
 (defconst go--max-dangling-operator-length 2
   "The maximum length of dangling operators.
 This must be at least the length of the longest string matched by
-‘go-dangling-operators-regexp.’, and must be updated whenever
-that constant is changed.")
+‘go-dangling-operators-regexp’ and must be updated whenever that
+constant is changed.")
 
 (defconst go-identifier-regexp "[[:word:][:multibyte:]]+")
 (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
 (defun gofmt ()
   "Format the current buffer according to the formatting tool.
 
-The tool used can be set via ‘gofmt-command` (default: gofmt) and additional
-arguments can be set as a list via ‘gofmt-args`."
+The tool used can be set via ‘gofmt-command’ (default: gofmt) and additional
+arguments can be set as a list via ‘gofmt-args’."
   (interactive)
   (let ((tmpfile (go--make-nearby-temp-file "gofmt" nil ".go"))
         (patchbuf (get-buffer-create "*Gofmt patch*"))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]