Commit 4e531f7a authored by Fabián Ezequiel Gallina's avatar Fabián Ezequiel Gallina Committed by Fabián Ezequiel Gallina

Documentation fixes

parent 19b122e4
......@@ -193,7 +193,7 @@
">>=" "<<=" "&=" "^=" "|=")))))
(defmacro python-rx (&rest regexps)
"Python mode especialized rx macro which supports common python named regexps."
"Python mode especialized rx macro which supports common python named REGEXPS."
(let ((rx-constituents (append python-rx-constituents rx-constituents)))
(cond ((null regexps)
(error "No regexp"))
......@@ -1069,7 +1069,7 @@ When argument ARG is non-nil sends the innermost defun."
(progn (end-of-line) (point-marker)))))))
(defun python-shell-send-file (file-name &optional process)
"Send FILE-NAME to inferior Python process."
"Send FILE-NAME to inferior Python PROCESS."
(interactive "fFile to send: ")
(let ((process (or process (python-shell-get-or-create-process)))
(full-file-name (expand-file-name file-name)))
......@@ -1295,7 +1295,7 @@ inferior python process is updated properly."
(interactive)
(let ((process (python-shell-get-process)))
(if (not process)
(error "Completion needs an inferior Python process running.")
(error "Completion needs an inferior Python process running")
(let* ((input (when (comint-word (current-word))
(with-syntax-table python-dotty-syntax-table
(buffer-substring (point-marker)
......@@ -1351,7 +1351,8 @@ inferior python process is updated properly."
"`fill-paragraph-function' handling multi-line strings and possibly comments.
If any of the current line is in or at the end of a multi-line string,
fill the string or the paragraph of it that point is in, preserving
the string's indentation."
the string's indentation.
Optional argument JUSTIFY defines if the paragraph should be justified."
(interactive "P")
(save-excursion
(back-to-indentation)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment