diff options
author | Yuchen Pei <id@ypei.org> | 2023-07-15 15:05:15 +1000 |
---|---|---|
committer | Yuchen Pei <id@ypei.org> | 2023-07-15 15:05:15 +1000 |
commit | b0b136970276c2988e5cd1c84911e966d68cce2f (patch) | |
tree | 7def4f723b8a0ea4d75fb23c4a956f57ad8db925 /buildbot-view.el | |
parent | 353f23d9849a911e59aae729f4de2a847a8839a4 (diff) |
Make `buildbot-host' and `buildbot-builders' buffer local.
Diffstat (limited to 'buildbot-view.el')
-rw-r--r-- | buildbot-view.el | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/buildbot-view.el b/buildbot-view.el index 7f463f4..a69b923 100644 --- a/buildbot-view.el +++ b/buildbot-view.el @@ -302,12 +302,16 @@ With a non-nil NO-BRANCH, do not show branch info." "Open a view of TYPE using DATA. With a non-nil FORCE, reload the view buffer if exists." - (let ((buffer-name (buildbot-view-buffer-name type data))) + (let ((buffer-name (buildbot-view-buffer-name type data)) + (host buildbot-host) + (builders buildbot-builders)) (when (or force (not (get-buffer buffer-name))) (with-current-buffer (get-buffer-create buffer-name) (buildbot-view-mode) (setq buildbot-view-type type - buildbot-view-data data) + buildbot-view-data data + buildbot-host host + buildbot-builders builders) (buildbot-view-update))) (switch-to-buffer buffer-name))) |