[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/go-mode ed5c2cf 421/495: Fixed compiler warnings
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/go-mode ed5c2cf 421/495: Fixed compiler warnings |
Date: |
Sat, 7 Aug 2021 09:06:00 -0400 (EDT) |
branch: elpa/go-mode
commit ed5c2cf8688f0b603f63279d30e7166bb8ae56fe
Author: Serghei Iakovlev <sergeyklay@users.noreply.github.com>
Commit: Dominik Honnef <dominik@honnef.co>
Fixed compiler warnings
- > ‘flymake-mode-off’ is an obsolete function (as of 26.1); use
‘flymake-mode’ instead.
- > ‘flymake-mode-on’ is an obsolete function (as of 26.1); use
‘flymake-mode’ instead.
---
go-mode.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/go-mode.el b/go-mode.el
index 073cd22..fed6262 100644
--- a/go-mode.el
+++ b/go-mode.el
@@ -1445,7 +1445,7 @@ they will be removed completely."
(let ((cur-buffer (current-buffer)) flymake-state lines)
(when (boundp 'flymake-mode)
(setq flymake-state flymake-mode)
- (flymake-mode-off))
+ (flymake-mode -1))
(save-some-buffers nil (lambda () (equal cur-buffer (current-buffer))))
(if (buffer-modified-p)
(message "Cannot operate on unsaved buffer")
@@ -1457,7 +1457,7 @@ they will be removed completely."
(comment-region (line-beginning-position) (line-end-position))
(go--delete-whole-line)))
(message "Removed %d imports" (length lines)))
- (if flymake-state (flymake-mode-on)))))
+ (if flymake-state (flymake-mode 1)))))
(defun godef--find-file-line-column (specifier other-window)
"Given a file name in the format of `filename:line:column',
- [nongnu] elpa/go-mode e565a58 394/495: Use goto-char, not beginning-of-buffer, (continued)
- [nongnu] elpa/go-mode e565a58 394/495: Use goto-char, not beginning-of-buffer, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 5737e59 401/495: Regenerate AUTHORS, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode d13feb2 397/495: Remove support for XEmacs, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode bfe7a14 405/495: Fix all compilation warnings in go-guru.el, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode ff87a1e 411/495: Remove Donations section from README, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode b234d71 412/495: Remove outdated autoloads instructions from README.md, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode eed4af3 415/495: autocompletion while seting guru scope using `completing-read-multiple', ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 791dfa5 418/495: require subr-x when interpreting go-guru.el, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode b02c6f6 414/495: Fix local variables list., ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 120fb91 419/495: Use "guru -tags=xxx yyy", not "guru -tags=xxx, yyy", ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode ed5c2cf 421/495: Fixed compiler warnings,
ELPA Syncer <=
- [nongnu] elpa/go-mode 77c6aae 422/495: Fix quotation marks in the gofmt doc string, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 3f60838 424/495: Move testdata under test/ directory., ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 3ba1982 427/495: Handle indentation for nested dangling operators, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode f6b1398 429/495: Fix filename handling in godoc-gogetdoc, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 00e72cd 431/495: Update default for godoc-and-godef-command, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 6b67088 432/495: Support trailing commas as dangling operators., ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 8ddf0b3 433/495: Speed up go-goto-opening-parenthesis, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode fdc1545 436/495: Fix indent for case statement comments, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode d387378 438/495: indent: handle comments after multiline case lists, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode fbf2544 444/495: Improve fill-paragraph for comment blocks., ELPA Syncer, 2021/08/07