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

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

[nongnu] elpa/go-mode d10c4bc 020/495: use /= instead of (not (=))


From: ELPA Syncer
Subject: [nongnu] elpa/go-mode d10c4bc 020/495: use /= instead of (not (=))
Date: Sat, 7 Aug 2021 09:04:35 -0400 (EDT)

branch: elpa/go-mode
commit d10c4bc5854b29c45af5859827a9776c84a47c83
Author: Dominik Honnef <dominikh@fork-bomb.org>
Commit: Dominik Honnef <dominikh@fork-bomb.org>

    use /= instead of (not (=))
---
 go-mode.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/go-mode.el b/go-mode.el
index 39e5211..6592b5e 100644
--- a/go-mode.el
+++ b/go-mode.el
@@ -131,9 +131,9 @@ built-ins, functions, and some types.")
         (progn (previous-line)
                (end-of-line))
       (goto-char pos))
-    (if (not (= start-pos (point)))
+    (if (/= start-pos (point))
         (go--backward-irrelevant))
-    (not (= start-pos (point)))))
+    (/= start-pos (point))))
 
 (defun go-previous-line-has-dangling-op-p ()
   (save-excursion
@@ -408,7 +408,7 @@ Replace the current buffer on success; display errors on 
failure."
     (cond ((string= event "finished\n")  ;; Successful exit.
            (goto-char (point-min))
            (view-buffer (current-buffer) 'kill-buffer))
-          ((not (= (process-exit-status proc) 0))  ;; Error exit.
+          ((/= (process-exit-status proc) 0)  ;; Error exit.
            (let ((output (buffer-string)))
              (kill-buffer (current-buffer))
              (message (concat "godoc: " output)))))))



reply via email to

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