Skip to content

Commit

Permalink
Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
psibi committed Jun 25, 2022
1 parent 01e1a1f commit c21af40
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions justl.el
Original file line number Diff line number Diff line change
Expand Up @@ -314,8 +314,7 @@ controls if we are going to display the process status on mode line."
(force-mode-line-update)
(if (or compilation-auto-jump-to-first-error
(eq compilation-scroll-output 'first-error))
(set (make-local-variable 'compilation-auto-jump-to-next) t))
)))
(set (make-local-variable 'compilation-auto-jump-to-next) t)))))

(defvar justl--compile-command nil
"Last shell command used to do a compilation; default for next compilation.")
Expand All @@ -334,7 +333,6 @@ ARGS is a plist that affects how the process is run.
(or (plist-get args :buffer) justl--output-process-buffer)))
(process-name (or (plist-get args :process) justl--compilation-process-name))
(mode (or (plist-get args :mode) 'justl-compile-mode))
(justfile justl--justfile)
(directory (or (plist-get args :directory) (f-dirname justl--justfile)))
(sentinel (or (plist-get args :sentinel) #'justl--sentinel))
(inhibit-read-only t))
Expand Down Expand Up @@ -369,12 +367,6 @@ ARGS is a plist that affects how the process is run.
:process "just"
:mode 'justl-compile-mode)))

(defconst justl-mode-compilation-finished "^Target execution \\(finished\\).*")

(defvar sibi-test
'(justl-mode-compilation-finished (0 '(face nil compilation-message nil help-echo nil mouse-face nil) t)
()) )

(defvar justl-mode-font-lock-keywords
'(
("^Target execution \\(finished\\).*"
Expand Down Expand Up @@ -607,7 +599,7 @@ tweaked further by the user."
:choices '("auto" "always" "never"))

(transient-define-prefix justl-help-popup ()
"Justl Menu"
"Justl Menu."
[["Arguments"
("-s" "Clear shell arguments" "--clear-shell-args")
("-d" "Dry run" "--dry-run")
Expand Down

0 comments on commit c21af40

Please sign in to comment.