[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/shellcop a5ebf9e3ea 08/10: fixed some minor issues per mel
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/shellcop a5ebf9e3ea 08/10: fixed some minor issues per melpa review |
Date: |
Wed, 5 Jan 2022 08:59:35 -0500 (EST) |
branch: elpa/shellcop
commit a5ebf9e3eaf60d35a876c858f63e2c7811ba9a5d
Author: Chen Bin <chenbin.sh@gmail.com>
Commit: Chen Bin <chenbin.sh@gmail.com>
fixed some minor issues per melpa review
---
shellcop.el | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/shellcop.el b/shellcop.el
index 59355c2ae5..793726d3b5 100644
--- a/shellcop.el
+++ b/shellcop.el
@@ -2,7 +2,7 @@
;; Copyright (C) 2020-2021 Chen Bin
;;
-;; Version: 0.0.4
+;; Version: 0.0.5
;; Keywords: unix tools
;; Author: Chen Bin <chenbin DOT sh AT gmail DOT com>
;; URL: https://github.com/redguardtoo/shellcop
@@ -53,6 +53,7 @@
;;;
(require 'cl-lib)
+(require 'comint)
(defgroup shellcop nil
"Analyze errors reported in Emacs builtin shell."
@@ -196,21 +197,18 @@ Extract file paths when user presses enter key shell."
(interactive)
(advice-add 'comint-send-input :around #'shellcop-comint-send-input-hack))
-;;;###autoload
(defun shellcop-all-windows ()
"Return all windows."
(cl-mapcan (lambda (f)
(window-list f 0 (frame-first-window f)))
(visible-frame-list)))
-;;;###autoload
(defun shellcop-current-line ()
"Get current line text."
(let* ((inhibit-field-text-motion t))
(buffer-substring-no-properties (line-beginning-position)
(line-end-position))))
-;;;###autoload
(defun shellcop-prompt-line-p (&optional position)
"If line at POSITION has prompt at the beginning."
(let* (rlt)
@@ -298,7 +296,7 @@ Keep latest N cli program output if it's not nil."
(cond
(err-wins
(message "Code syntax error in windows %s"
- (mapconcat 'identity err-wins " ")))
+ (mapconcat #'identity err-wins " ")))
(shellcop-insert-shell-command-function
(funcall shellcop-insert-shell-command-function)))))
@@ -319,7 +317,6 @@ Or else erase current buffer."
(t
(shellcop-erase-one-visible-buffer "*Messages*"))))
-;;;###autoload
(defun shellcop-visible-window-list ()
"Visible window list."
(cl-mapcan (lambda (frame)
- [nongnu] branch elpa/shellcop created (now 8213452241), ELPA Syncer, 2022/01/05
- [nongnu] elpa/shellcop 4710d80099 02/10: doc, ELPA Syncer, 2022/01/05
- [nongnu] elpa/shellcop 12db5dffb2 03/10: simplify erase buffer command, ELPA Syncer, 2022/01/05
- [nongnu] elpa/shellcop eec62d29bc 04/10: fixed erase *Messages* buffer error, ELPA Syncer, 2022/01/05
- [nongnu] elpa/shellcop 8213452241 10/10: can goto location manually, ELPA Syncer, 2022/01/05
- [nongnu] elpa/shellcop 38cfb38a2b 01/10: first import, ELPA Syncer, 2022/01/05
- [nongnu] elpa/shellcop 7c025b1017 09/10: add debug code, ELPA Syncer, 2022/01/05
- [nongnu] elpa/shellcop 5102a94f80 05/10: clean code, ELPA Syncer, 2022/01/05
- [nongnu] elpa/shellcop c4d0468ce4 06/10: support elpy python shell, ELPA Syncer, 2022/01/05
- [nongnu] elpa/shellcop b0045fb41f 07/10: search *shell* buffer from other sub-window, ELPA Syncer, 2022/01/05
- [nongnu] elpa/shellcop a5ebf9e3ea 08/10: fixed some minor issues per melpa review,
ELPA Syncer <=