We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c02034 commit fb60856Copy full SHA for fb60856
eaf.el
@@ -1091,6 +1091,14 @@ of `eaf--buffer-app-name' inside the EAF buffer."
1091
(select-window buffer-window)))
1092
(throw 'found-eaf t)))))
1093
1094
+(defun eaf-get-buffer (buffer-id)
1095
+ "Find the buffer given the BUFFER-ID."
1096
+ (catch 'found-eaf
1097
+ (eaf-for-each-eaf-buffer
1098
+ (when (string= eaf--buffer-id buffer-id)
1099
+ (throw 'found-eaf buffer))
1100
+ nil)))
1101
+
1102
(defun eaf--show-message (format-string)
1103
"A wrapper around `message' that prepend [EAF/app-name] before FORMAT-STRING."
1104
(let ((fmt (if eaf--buffer-app-name
0 commit comments