[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/kubed aee9cddd59 13/70: ; Fix 'kubed-kubectl-command' e
From: |
ELPA Syncer |
Subject: |
[elpa] externals/kubed aee9cddd59 13/70: ; Fix 'kubed-kubectl-command' error when 'transient' is not loaded |
Date: |
Tue, 6 Aug 2024 06:58:26 -0400 (EDT) |
branch: externals/kubed
commit aee9cddd59ca99078033dcbb96661ed087678d40
Author: Eshel Yaron <me@eshelyaron.com>
Commit: Eshel Yaron <me@eshelyaron.com>
; Fix 'kubed-kubectl-command' error when 'transient' is not loaded
---
kubed.el | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/kubed.el b/kubed.el
index 633df978a1..44319e7e9f 100644
--- a/kubed.el
+++ b/kubed.el
@@ -1930,8 +1930,11 @@ Interactively, prompt for COMMAND with completion for
`kubectl' arguments."
"Command: "
(concat
kubed-kubectl-program " "
- (let ((args (kubed-transient-args))
- (scope (and (fboundp 'transient-scope) (transient-scope))))
+ (let* ((args (kubed-transient-args))
+ (prefix (and (fboundp 'transient-prefix-object)
+ (transient-prefix-object)))
+ (scope (and prefix (fboundp 'eieio-oref)
+ (eieio-oref prefix 'scope))))
(when (or args scope)
(concat (string-join (append scope args) " ") " "))))
'kubed-kubectl-command-history)))
- [elpa] branch externals/kubed created (now f65ee0e44a), ELPA Syncer, 2024/08/06
- [elpa] externals/kubed 22ba7fb525 03/70: ; * kubed.texi (Getting Started): Fix itemization, ELPA Syncer, 2024/08/06
- [elpa] externals/kubed 4725515591 05/70: ; Update .gitignore, ELPA Syncer, 2024/08/06
- [elpa] externals/kubed d1efd91fe8 08/70: * kubed.el (deployment): Add useful resource properties, ELPA Syncer, 2024/08/06
- [elpa] externals/kubed c5c03e9024 07/70: * kubed.el (service): Add useful resource properties, ELPA Syncer, 2024/08/06
- [elpa] externals/kubed eaf03ec7e2 09/70: Improve compatibility with Emacs 29, ELPA Syncer, 2024/08/06
- [elpa] externals/kubed d7a4f0d5ab 01/70: Initial commit, ELPA Syncer, 2024/08/06
- [elpa] externals/kubed 524aebf3f6 06/70: ; * kubed.el: Silence warning about 'cobra-read-command-line'., ELPA Syncer, 2024/08/06
- [elpa] externals/kubed 6996279938 11/70: Add context menus to resource list buffers, ELPA Syncer, 2024/08/06
- [elpa] externals/kubed aee9cddd59 13/70: ; Fix 'kubed-kubectl-command' error when 'transient' is not loaded,
ELPA Syncer <=
- [elpa] externals/kubed 324fc95325 10/70: ; Don't generate extra nils for non-namespaced resources, ELPA Syncer, 2024/08/06
- [elpa] externals/kubed 03c0121c64 18/70: Add argument SILENT to 'kubed-update-RESOURCEs' commands, ELPA Syncer, 2024/08/06
- [elpa] externals/kubed e2699427a9 20/70: New command 'kubed-cronjobs-toggle-suspension', ELPA Syncer, 2024/08/06
- [elpa] externals/kubed adbbefb6c2 21/70: ; README.md: Add figure showing help for resource fields, ELPA Syncer, 2024/08/06
- [elpa] externals/kubed e948eb9335 04/70: ; * kubed.texi (Usage): Populate with a few words., ELPA Syncer, 2024/08/06
- [elpa] externals/kubed 38a8f984fb 15/70: ; Teach Imenu about 'kubed-define-resource', ELPA Syncer, 2024/08/06
- [elpa] externals/kubed 2c90213b8e 16/70: ; (kubed-read-resource-field): Pass DEFAULT 'completing-read'., ELPA Syncer, 2024/08/06
- [elpa] externals/kubed 88937ea900 17/70: Add general resource-reading functions, ELPA Syncer, 2024/08/06
- [elpa] externals/kubed 3cc3d54e75 19/70: New commands for patching resources, ELPA Syncer, 2024/08/06
- [elpa] externals/kubed fd653d0458 22/70: ; README.md: Adjust figure., ELPA Syncer, 2024/08/06