# HG changeset patch # User Oleksandr Gavenko # Date 1470170787 -10800 # Node ID 63a3141a7ffe8682a6de3b71ee6d70d63ea4d198 # Parent 04c1fdf1fdc9c08dff9e9796e0b674126a5073fb Fix: nil python shell because we already switched from .py file. diff -r 04c1fdf1fdc9 -r 63a3141a7ffe .emacs-my --- a/.emacs-my Tue Aug 02 23:42:10 2016 +0300 +++ b/.emacs-my Tue Aug 02 23:46:27 2016 +0300 @@ -2786,12 +2786,12 @@ (format "Describe symbol (default %s): " symbol) "Describe symbol: ") nil nil symbol)))) - (let ( ) + (let ( (pyproc (python-shell-get-process)) ) (switch-to-buffer (get-buffer-create "*Python-doc*")) (read-only-mode -1) (buffer-disable-undo) (erase-buffer) - (insert (python-shell-send-string-no-output (format my-python/eldoc-string-code2 symbol) (python-shell-get-process))) + (insert (python-shell-send-string-no-output (format my-python/eldoc-string-code2 symbol) pyproc)) (goto-char (point-min)) (when (re-search-forward "^u?'" (line-end-position) t) (replace-match ""))