[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/go-mode 97f55b8 131/495: style changes
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/go-mode 97f55b8 131/495: style changes |
Date: |
Sat, 7 Aug 2021 09:04:58 -0400 (EDT) |
branch: elpa/go-mode
commit 97f55b86a72043e327d0a7c2a0ff908282cca456
Author: Dominik Honnef <dominikh@fork-bomb.org>
Commit: Dominik Honnef <dominikh@fork-bomb.org>
style changes
---
go-mode.el | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/go-mode.el b/go-mode.el
index cd8e5d0..8ba0fbd 100644
--- a/go-mode.el
+++ b/go-mode.el
@@ -745,7 +745,7 @@ uncommented, otherwise a new import will be added."
(defun go-root-and-paths ()
(let* ((output (split-string (shell-command-to-string "go env GOROOT
GOPATH") "\n"))
(root (car output))
- (paths (split-string (car (cdr output)) ":")))
+ (paths (split-string (cadr output) ":")))
(append (list root) paths)))
(defun go--string-prefix-p (s1 s2 &optional ignore-case)
@@ -760,10 +760,10 @@ uncommented, otherwise a new import will be added."
(dolist (file files)
(unless (member file '("." ".."))
(let ((file (concat dir "/" file)))
- (when (file-directory-p file)
- (setq dirs (append (cons file
- (go--directory-dirs file))
- dirs))))))
+ (if (file-directory-p file)
+ (setq dirs (append (cons file
+ (go--directory-dirs file))
+ dirs))))))
dirs)
'()))
- [nongnu] elpa/go-mode e184d60 070/495: Replace go--directory-dirs with find-lisp-find-files-internal, (continued)
- [nongnu] elpa/go-mode e184d60 070/495: Replace go--directory-dirs with find-lisp-find-files-internal, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 56ab2c8 088/495: make sure kill-line in go-remove-unused-imports includes \n, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 0b32caa 093/495: fix usage of url-* functions, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 1fdbcbf 095/495: use line-number-at-pos isntead of count-lines, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 7512759 104/495: Merge branch 'master' of https://github.com/imarko/go-mode.el into imarko-master, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode a52724b 116/495: use own history for godoc command, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode fb3e413 118/495: fix list markup in readme, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 0f0fe35 127/495: actually avoid using process-lines, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 5c3a797 129/495: Handle indentation for multi-line function declarations correctly, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode f5c445c 130/495: improve godef related documentation, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 97f55b8 131/495: style changes,
ELPA Syncer <=
- [nongnu] elpa/go-mode b97cfea 133/495: godef-jump: use push-mark., ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode a18b3f3 134/495: style change, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 55295da 128/495: formatting, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 50412f7 136/495: add gitignore, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode ec73086 157/495: remove unused code, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 5fd1c63 156/495: document go-goto-opening-parenthesis, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode f4d2977 158/495: add go-coverage to display coverage information, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode a5d5039 161/495: use go--goto-line where applicable, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 7ef7e56 163/495: correct docstrings of go-coverage-covered and go-coverage-uncovered, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 042f08c 169/495: if go-coverage is called in a coverage buffer, update it by using stored variables, ELPA Syncer, 2021/08/07