]> git.eshelyaron.com Git - kubed.git/commit
Improve compatibility with Emacs 29
authorEshel Yaron <me@eshelyaron.com>
Sun, 28 Jul 2024 19:56:19 +0000 (21:56 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sun, 28 Jul 2024 20:07:49 +0000 (22:07 +0200)
commiteaf03ec7e2e3a757716698bf0ba8b53d903207c7
tree3a401489d91f16259355197d780a2428598c5432
parentd1efd91fe8672919f2e85ca562b04b58d2371161
Improve compatibility with Emacs 29

* kubed.el (tramp-kubernetes-namespace): Remove declaration.
(kubed--static-if): New macro.  Compatibility definition of
'static-if' from Emacs 30.
(kubed-pods-dired, kubed-pods-shell): Do not rely on
explicit Kubernetes namespace in remote file name syntax in
Emacs versions earlier than 31.
(kubed-define-resource): Use 'emacsclient-program-name' only
in Emacs 30 or later.
kubed.el