File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,8 @@ versioning][semver].
2323
2424- Fixed an issue where ` kele-get ` results buffer incorrectly prints namespace
2525 for un-namespaced resources as ` nil `
26+ - Fixed an issue where ` kele-get ` refused to display the retrieved resource, if
27+ a buffer corresponding to that resource already exists
2628
2729### Changed
2830
Original file line number Diff line number Diff line change @@ -883,10 +883,11 @@ context and namespace in its name."
883883 obj
884884 kele-filtered-fields)))
885885 (with-current-buffer buf
886- (erase-buffer )
887- (insert (yaml-encode filtered-obj))
888- (whitespace-cleanup )
889- (goto-char (point-min ))
886+ (let ((inhibit-read-only t ))
887+ (erase-buffer )
888+ (insert (yaml-encode filtered-obj))
889+ (whitespace-cleanup )
890+ (goto-char (point-min )))
890891
891892 (if (featurep 'yaml-mode ) (yaml-mode )
892893 (message " [kele] For syntax highlighting, install `yaml-mode' . " ))
You can’t perform that action at this time.
0 commit comments