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

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

[nongnu] elpa/go-mode a9b9871 247/495: Use view-mode in godoc-mode


From: ELPA Syncer
Subject: [nongnu] elpa/go-mode a9b9871 247/495: Use view-mode in godoc-mode
Date: Sat, 7 Aug 2021 09:05:24 -0400 (EDT)

branch: elpa/go-mode
commit a9b987196dcaf0444e422a37e535f0299bae13d9
Author: Taiki Sugawara <buzz.taiki@gmail.com>
Commit: Dominik Honnef <dominik@honnef.co>

    Use view-mode in godoc-mode
---
 go-mode.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/go-mode.el b/go-mode.el
index f97a10b..71fe692 100644
--- a/go-mode.el
+++ b/go-mode.el
@@ -1077,7 +1077,8 @@ you save any file, kind of defeating the point of 
autoloading."
              (message (concat "godoc: " output)))))))
 
 (define-derived-mode godoc-mode special-mode "Godoc"
-  "Major mode for showing Go documentation.")
+  "Major mode for showing Go documentation."
+  (view-mode-enter))
 
 ;;;###autoload
 (defun godoc (query)



reply via email to

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