diff options
Diffstat (limited to 'lisp/progmodes/python.el')
| -rw-r--r-- | lisp/progmodes/python.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 63a43c1b31a..9528ffeebbc 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -2819,7 +2819,7 @@ of `error' with a user-friendly message." | |||
| 2819 | (or (python-shell-get-process) | 2819 | (or (python-shell-get-process) |
| 2820 | (if interactivep | 2820 | (if interactivep |
| 2821 | (user-error | 2821 | (user-error |
| 2822 | "Start a Python process first with ‘%s’ or ‘%s’." | 2822 | "Start a Python process first with `%s' or `%s'." |
| 2823 | (substitute-command-keys "\\[run-python]") | 2823 | (substitute-command-keys "\\[run-python]") |
| 2824 | ;; Get the binding. | 2824 | ;; Get the binding. |
| 2825 | (key-description | 2825 | (key-description |
| @@ -2979,7 +2979,7 @@ This is a wrapper over `buffer-substring' that takes care of | |||
| 2979 | different transformations for the code sent to be evaluated in | 2979 | different transformations for the code sent to be evaluated in |
| 2980 | the python shell: | 2980 | the python shell: |
| 2981 | 1. When optional argument NOMAIN is non-nil everything under an | 2981 | 1. When optional argument NOMAIN is non-nil everything under an |
| 2982 | \"if __name__ == '__main__'\" block will be removed. | 2982 | \"if __name__ == \\='__main__\\='\" block will be removed. |
| 2983 | 2. When a subregion of the buffer is sent, it takes care of | 2983 | 2. When a subregion of the buffer is sent, it takes care of |
| 2984 | appending extra empty lines so tracebacks are correct. | 2984 | appending extra empty lines so tracebacks are correct. |
| 2985 | 3. When the region sent is a substring of the current buffer, a | 2985 | 3. When the region sent is a substring of the current buffer, a |
| @@ -4006,7 +4006,7 @@ The skeleton will be bound to python-skeleton-NAME." | |||
| 4006 | (let* ((name (symbol-name name)) | 4006 | (let* ((name (symbol-name name)) |
| 4007 | (function-name (intern (concat "python-skeleton--" name))) | 4007 | (function-name (intern (concat "python-skeleton--" name))) |
| 4008 | (msg (format-message | 4008 | (msg (format-message |
| 4009 | "Add ‘%s’ clause? " name))) | 4009 | "Add `%s' clause? " name))) |
| 4010 | (when (not skel) | 4010 | (when (not skel) |
| 4011 | (setq skel | 4011 | (setq skel |
| 4012 | `(< ,(format "%s:" name) \n \n | 4012 | `(< ,(format "%s:" name) \n \n |