Skip to content

Commit

Permalink
Merge pull request #66 from psibi/change-buffer-name
Browse files Browse the repository at this point in the history
Change buffer name for justl buffers
  • Loading branch information
psibi authored Nov 16, 2024
2 parents 78e4626 + c1d4a1e commit 8292554
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 5 additions & 0 deletions Changelog.org
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@
one across all buffers.
- Support optional argument prompting in
~justl-exec-recipe-in-dir~. Fixes [[https://github.com/psibi/justl.el/issues/41][issue 41]].
- Ability to set new working directory in justl buffers via
~justl-set-new-working-dir~. This is useful to execute your recipes
with no-cd recipe attribute.
- Justl buffer names are changed to include filename too. This is made
in preparation for supporting just modules.

* 0.14

Expand Down
3 changes: 1 addition & 2 deletions justl.el
Original file line number Diff line number Diff line change
Expand Up @@ -530,8 +530,7 @@ They are returned as objects, as per the JSON output of \"just --dump\"."
(defun justl--buffer-name ()
"Return justl buffer name."
(let ((justfile (justl--find-justfile default-directory)))
(format "*just [%s]*"
(f-dirname justfile))))
(format "*just [%s]*" justfile)))

(defun justl--tabulated-entries (recipes)
"Turn RECIPES to tabulated entries."
Expand Down

0 comments on commit 8292554

Please sign in to comment.