Shortened name for pydoc buffer.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Mon, 18 Jan 2021 01:17:30 +0200
changeset 1704 d5d0c845e7ad
parent 1703 003cda885eeb
child 1705 3ed88879232f
Shortened name for pydoc buffer.
.emacs-my
--- a/.emacs-my	Mon Jan 18 01:12:09 2021 +0200
+++ b/.emacs-my	Mon Jan 18 01:17:30 2021 +0200
@@ -3074,7 +3074,7 @@
   (interactive (list (python-info-current-symbol)
                      (python-shell-get-process)))
   (let ( (cmd (concat "help('" symbol "')\n")) )
-    (switch-to-buffer (get-buffer-create (format "*Python-doc: %s*" symbol)))
+    (switch-to-buffer (get-buffer-create (format "*pydoc: %s*" symbol)))
     (fundamental-mode)
     (read-only-mode -1)
     (buffer-disable-undo)