diff options
| author | Glenn Morris | 2007-08-08 07:34:30 +0000 |
|---|---|---|
| committer | Glenn Morris | 2007-08-08 07:34:30 +0000 |
| commit | e7f767c25e3d7abd0a456c838d8c1747649aebff (patch) | |
| tree | 8f51a8c12c1debf706eeb47e04368fa80451e60c /lisp/progmodes/python.el | |
| parent | 3ecd3a56c0b0d9453272308be2aae4fca444e9f3 (diff) | |
| download | emacs-e7f767c25e3d7abd0a456c838d8c1747649aebff.tar.gz emacs-e7f767c25e3d7abd0a456c838d8c1747649aebff.zip | |
Replace `iff' in doc-strings and comments.
Diffstat (limited to 'lisp/progmodes/python.el')
| -rw-r--r-- | lisp/progmodes/python.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index ca18f772970..7c1abaf223d 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -348,7 +348,7 @@ comments and strings, or that point is within brackets/parens." | |||
| 348 | (error nil)))))))) | 348 | (error nil)))))))) |
| 349 | 349 | ||
| 350 | (defun python-comment-line-p () | 350 | (defun python-comment-line-p () |
| 351 | "Return non-nil iff current line has only a comment." | 351 | "Return non-nil if current line has only a comment." |
| 352 | (save-excursion | 352 | (save-excursion |
| 353 | (end-of-line) | 353 | (end-of-line) |
| 354 | (when (eq 'comment (syntax-ppss-context (syntax-ppss))) | 354 | (when (eq 'comment (syntax-ppss-context (syntax-ppss))) |
| @@ -356,7 +356,7 @@ comments and strings, or that point is within brackets/parens." | |||
| 356 | (looking-at (rx (or (syntax comment-start) line-end)))))) | 356 | (looking-at (rx (or (syntax comment-start) line-end)))))) |
| 357 | 357 | ||
| 358 | (defun python-blank-line-p () | 358 | (defun python-blank-line-p () |
| 359 | "Return non-nil iff current line is blank." | 359 | "Return non-nil if current line is blank." |
| 360 | (save-excursion | 360 | (save-excursion |
| 361 | (beginning-of-line) | 361 | (beginning-of-line) |
| 362 | (looking-at "\\s-*$"))) | 362 | (looking-at "\\s-*$"))) |
| @@ -850,7 +850,7 @@ multi-line bracketed expressions." | |||
| 850 | "Skip out of any nested brackets. | 850 | "Skip out of any nested brackets. |
| 851 | Skip forward if FORWARD is non-nil, else backward. | 851 | Skip forward if FORWARD is non-nil, else backward. |
| 852 | If SYNTAX is non-nil it is the state returned by `syntax-ppss' at point. | 852 | If SYNTAX is non-nil it is the state returned by `syntax-ppss' at point. |
| 853 | Return non-nil iff skipping was done." | 853 | Return non-nil if skipping was done." |
| 854 | (let ((depth (syntax-ppss-depth (or syntax (syntax-ppss)))) | 854 | (let ((depth (syntax-ppss-depth (or syntax (syntax-ppss)))) |
| 855 | (forward (if forward -1 1))) | 855 | (forward (if forward -1 1))) |
| 856 | (unless (zerop depth) | 856 | (unless (zerop depth) |
| @@ -1191,7 +1191,7 @@ local value.") | |||
| 1191 | (define-key map "\C-c\C-l" 'python-load-file) | 1191 | (define-key map "\C-c\C-l" 'python-load-file) |
| 1192 | (define-key map "\C-c\C-v" 'python-check) | 1192 | (define-key map "\C-c\C-v" 'python-check) |
| 1193 | ;; Note that we _can_ still use these commands which send to the | 1193 | ;; Note that we _can_ still use these commands which send to the |
| 1194 | ;; Python process even at the prompt iff we have a normal prompt, | 1194 | ;; Python process even at the prompt provided we have a normal prompt, |
| 1195 | ;; i.e. '>>> ' and not '... '. See the comment before | 1195 | ;; i.e. '>>> ' and not '... '. See the comment before |
| 1196 | ;; python-send-region. Fixme: uncomment these if we address that. | 1196 | ;; python-send-region. Fixme: uncomment these if we address that. |
| 1197 | 1197 | ||