From 35c2c0635755791ae1530cb7fb1feb1f949196c8 Mon Sep 17 00:00:00 2001 From: Eric Dallo Date: Tue, 30 Jul 2024 09:27:19 -0300 Subject: [PATCH] Make `jet-error-buffer-name` buffer-name customizable. #8 --- CHANGELOG.md | 1 + jet.el | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9108e8b..dfa13be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## Unreleased - Fix support for quotes `'`. #7 +- Make `jet-error-buffer-name` buffer-name customizable. #8 ## 1.1.0 diff --git a/jet.el b/jet.el index 7686879..58b6196 100644 --- a/jet.el +++ b/jet.el @@ -44,10 +44,14 @@ :group 'jet :type 'number) +(defcustom jet-error-buffer-name "*jet error*" + "When `nil`, redirects to stdout." + :group 'jet + :type 'string) + (defvar jet-version-string "1.1.1") (defvar jet-output-buffer-name "*jet output*") -(defvar jet-error-buffer-name "*jet error*") (defvar jet-major-mode-alist '(("edn" . 'clojure-mode) ("json" . 'json-mode)