[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/go-mode 64be4a3 249/495: Merge branch 'godoc_mode'
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/go-mode 64be4a3 249/495: Merge branch 'godoc_mode' |
Date: |
Sat, 7 Aug 2021 09:05:25 -0400 (EDT) |
branch: elpa/go-mode
commit 64be4a31390a62d248da5c0509aaa0de09b8e4f4
Merge: 7041a20 aa032d9
Author: Dominik Honnef <dominik@honnef.co>
Commit: Dominik Honnef <dominik@honnef.co>
Merge branch 'godoc_mode'
---
AUTHORS | 1 +
go-mode.el | 6 +++++-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/AUTHORS b/AUTHORS
index 8c7e6df..4010f5f 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -26,5 +26,6 @@ RĂ¼diger Sonderfeld <ruediger@c-plusplus.net>
Sameer Ajmani <sameer@golang.org>
Scott Lawrence <bytbox@gmail.com>
Steven Elliot Harris <seharris@gmail.com>
+Taiki Sugawara <buzz.taiki@gmail.com>
Viacheslav Chimishuk <vchimishuk@yandex-team.ru>
Yasuyuki Oka <yasuyk@gmail.com>
diff --git a/go-mode.el b/go-mode.el
index e519d60..71fe692 100644
--- a/go-mode.el
+++ b/go-mode.el
@@ -1069,13 +1069,17 @@ you save any file, kind of defeating the point of
autoloading."
(with-current-buffer (process-buffer proc)
(cond ((string= event "finished\n") ;; Successful exit.
(goto-char (point-min))
- (view-mode 1)
+ (godoc-mode)
(display-buffer (current-buffer) t))
((/= (process-exit-status proc) 0) ;; Error exit.
(let ((output (buffer-string)))
(kill-buffer (current-buffer))
(message (concat "godoc: " output)))))))
+(define-derived-mode godoc-mode special-mode "Godoc"
+ "Major mode for showing Go documentation."
+ (view-mode-enter))
+
;;;###autoload
(defun godoc (query)
"Show Go documentation for QUERY, much like M-x man."
- [nongnu] elpa/go-mode 3300479 225/495: fix beginning-of-defun when point is near the start of a function, (continued)
- [nongnu] elpa/go-mode 3300479 225/495: fix beginning-of-defun when point is near the start of a function, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 948dbeb 226/495: Issue 61., ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode be58a4a 227/495: add go-mode-autoloads.el, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 0bcbcf1 228/495: refine install instructions, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 3fdac08 233/495: use quit-window to hide the gofmt error window, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 50e7182 234/495: fix several `checkdoc' errors., ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode d38444d 236/495: add RĂ¼diger Sonderfeld to AUTHORS file, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 59d1e82 231/495: include link to ELPA guide in readme, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode d1a8f67 237/495: bump version to 1.1.0, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode aa032d9 248/495: Add Taiki Sugawara to AUTHORS, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 64be4a3 249/495: Merge branch 'godoc_mode',
ELPA Syncer <=
- [nongnu] elpa/go-mode 5d53a13 252/495: Update import path of godef, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 15d227a 253/495: gofmt: wrap external commands in `unwind-protect', ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 91c4496 254/495: go-unused-imports-lines escape dot in regexp correctly, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 0b1ec30 255/495: go-unused-imports-lines pass -e to compiler to get all errors, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 46448ea 258/495: Collect all the define-key statements at the bottom, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 8965fa1 261/495: Use forward-list instead of re-search-forward in go-goto-return-value, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 10f7d10 260/495: go-goto-return-value: don't move past pointer, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode b78582a 262/495: Rename go-goto-type-signature to go-goto-method-receiver, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode a16e2e0 266/495: Update docstring and comments for go--in-function-p, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 94ffc7a 270/495: go-goto-docstring: insert function name even if empty comment, ELPA Syncer, 2021/08/07