Skip to content

Commit

Permalink
Fix reversed behavior of buffer name format vars
Browse files Browse the repository at this point in the history
Fixed reversed behavior of `shell-command-x-buffer-name-async-format` and
`shell-command-x-buffer-name-format`.
  • Loading branch information
elizagamedev committed Jul 1, 2023
1 parent 48248f5 commit 95cfec6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.1.2] - 2023-06-30

### Fixed

- Fixed reversed behavior of `shell-command-x-buffer-name-async-format` and
`shell-command-x-buffer-name-format`.

## [0.1.1] - 2023-06-29

### Fixed
Expand All @@ -22,6 +29,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Initial release.

[unreleased]: https://github.com/elizagamedev/shell-command-x.el/compare/v1.1.1...HEAD
[unreleased]: https://github.com/elizagamedev/shell-command-x.el/compare/v0.1.2...HEAD
[0.1.2]: https://github.com/elizagamedev/shell-command-x.el/compare/v0.1.1...v0.1.2
[0.1.1]: https://github.com/elizagamedev/shell-command-x.el/compare/v0.1.0...v0.1.1
[0.1.0]: https://github.com/elizagamedev/shell-command-x.el/releases/tag/v0.1.0
6 changes: 3 additions & 3 deletions shell-command-x.el
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
;; Copyright (C) 2023 Eliza Velasquez

;; Author: Eliza Velasquez
;; Version: 0.1.1
;; Version: 0.1.2
;; Created: 2023-06-29
;; Package-Requires: ((emacs "28.1"))
;; Keywords: convenience processes unix
Expand Down Expand Up @@ -138,8 +138,8 @@ the COMMAND and ASYNC-P arguments."
command))
(command-name (car (split-string-shell-command first-command))))
(format-spec (if async-p
shell-command-x-buffer-name-format
shell-command-x-buffer-name-async-format)
shell-command-x-buffer-name-async-format
shell-command-x-buffer-name-format)
`((?n . ,command-name)
(?f . ,first-command)
(?a . ,command)))))
Expand Down

0 comments on commit 95cfec6

Please sign in to comment.