Recompile is sufficient to work with my compile program

This commit is contained in:
Howard Abrams 2022-11-07 20:45:20 -08:00
parent c16fd9ec68
commit be9077f857
2 changed files with 1 additions and 3 deletions

View file

@ -1520,7 +1520,7 @@ While I don't /need/ all the features that [[https://github.com/bbatsov/projecti
"p a" '("add new project" . projectile-add-known-project) "p a" '("add new project" . projectile-add-known-project)
"p b" '("switch to project buffer" . projectile-switch-to-buffer) "p b" '("switch to project buffer" . projectile-switch-to-buffer)
"p C" '("compile in project" . projectile-compile-project) "p C" '("compile in project" . projectile-compile-project)
"p c" '("repeat last command" . projectile-repeat-last-command) "p c" '("recompile" . recompile)
"p d" '("remove known project" . projectile-remove-known-project) "p d" '("remove known project" . projectile-remove-known-project)
"p e" '("edit project .dir-locals" . projectile-edit-dir-locals) "p e" '("edit project .dir-locals" . projectile-edit-dir-locals)
"p f" '("find file in project" . projectile-find-file) "p f" '("find file in project" . projectile-find-file)

View file

@ -435,8 +435,6 @@ My replacement to [[help:compile][compile]] just uses my new =completing-read= f
(interactive (list (completing-read "Compile command: " (interactive (list (completing-read "Compile command: "
(ha--compile-command-list) (ha--compile-command-list)
nil nil "" 'compile-history))) nil nil "" 'compile-history)))
;; Not sure if I need to add it myself:
;; (add-to-history compile-history command)
(let ((default-directory (projectile-project-root))) (let ((default-directory (projectile-project-root)))
(compile command))) (compile command)))
#+end_src #+end_src