branch: externals/inspector
commit 3a7d42fa563bf6d391212ab4c07bb039c4662285
Author: Kristoffer Balintona <[email protected]>
Commit: Kristoffer Balintona <[email protected]>
Improve docstring of `inspector-switch-to-buffer`
---
inspector.el | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/inspector.el b/inspector.el
index 29f4a79861..ba04c73eef 100644
--- a/inspector.el
+++ b/inspector.el
@@ -193,7 +193,10 @@ The target width is given by the `pp-max-width' variable."
:group 'inspector)
(defcustom inspector-switch-to-buffer t
- "Use `switch-to-buffer-other-window' after an inspector buffer is opened."
+ "Use `switch-to-buffer-other-window' after an inspector buffer is opened.
+Otherwise, when nil, use `display-buffer' to display inspector buffers.
+
+This option applies to *inspector* and *inspector pprint* buffers."
:type 'boolean
:group 'inspector)