From 95cfec655a16cbaa7e77da66af91c064f83dfc71 Mon Sep 17 00:00:00 2001 From: Eliza Velasquez <4576666+elizagamedev@users.noreply.github.com> Date: Fri, 30 Jun 2023 20:32:29 -0700 Subject: [PATCH] Fix reversed behavior of buffer name format vars Fixed reversed behavior of `shell-command-x-buffer-name-async-format` and `shell-command-x-buffer-name-format`. --- CHANGELOG.md | 10 +++++++++- shell-command-x.el | 6 +++--- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3ef4b61..8851efa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 @@ -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 diff --git a/shell-command-x.el b/shell-command-x.el index 25915ae..13108fe 100644 --- a/shell-command-x.el +++ b/shell-command-x.el @@ -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 @@ -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)))))