Mercurial > emacs
comparison lisp/progmodes/python.el @ 72936:063a265bc04f
(python-preoutput-filter): Fix arg order to string-match.
| author | Richard M. Stallman <rms@gnu.org> |
|---|---|
| date | Sat, 16 Sep 2006 17:56:11 +0000 |
| parents | 298499495f06 |
| children | 664e876d97fd b5c13d1564a9 |
comparison
equal
deleted
inserted
replaced
| 72935:59a167976c44 | 72936:063a265bc04f |
|---|---|
| 1287 (or python-preoutput-skip-next-prompt | 1287 (or python-preoutput-skip-next-prompt |
| 1288 ;; ... or if it's not gonna be inserted at BOL. | 1288 ;; ... or if it's not gonna be inserted at BOL. |
| 1289 ;; Maybe we could be more selective here. | 1289 ;; Maybe we could be more selective here. |
| 1290 (if (zerop (length res)) | 1290 (if (zerop (length res)) |
| 1291 (not (bolp)) | 1291 (not (bolp)) |
| 1292 (string-match res ".\\'")))) | 1292 (string-match ".\\'" res)))) |
| 1293 ;; The need for this seems to be system-dependent: | 1293 ;; The need for this seems to be system-dependent: |
| 1294 ;; What is this all about, exactly? --Stef | 1294 ;; What is this all about, exactly? --Stef |
| 1295 ;; (if (and (eq ?. (aref s 0))) | 1295 ;; (if (and (eq ?. (aref s 0))) |
| 1296 ;; (accept-process-output (get-buffer-process (current-buffer)) 1)) | 1296 ;; (accept-process-output (get-buffer-process (current-buffer)) 1)) |
| 1297 (setq python-preoutput-skip-next-prompt nil) | 1297 (setq python-preoutput-skip-next-prompt nil) |
