emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/progmodes/python.el [lexbind]


From: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/lisp/progmodes/python.el [lexbind]
Date: Tue, 06 Jul 2004 06:58:26 -0400

Index: emacs/lisp/progmodes/python.el
diff -c emacs/lisp/progmodes/python.el:1.1.2.6 
emacs/lisp/progmodes/python.el:1.1.2.7
*** emacs/lisp/progmodes/python.el:1.1.2.6      Tue Jul  6 10:10:50 2004
--- emacs/lisp/progmodes/python.el      Tue Jul  6 10:26:56 2004
***************
*** 710,725 ****
  expressions."
    (beginning-of-line)
    (python-beginning-of-string)
!   (while (python-continuation-line-p)
!     (beginning-of-line)
!     (if (python-backslash-continuation-line-p)
!       (while (python-backslash-continuation-line-p)
!         (forward-line -1))
!       (python-beginning-of-string)
!       ;; Skip forward out of nested brackets.
!       (condition-case ()              ; beware invalid syntax
!         (progn (backward-up-list (syntax-ppss-depth (syntax-ppss))) t)
!       (error (end-of-line)))))
    (back-to-indentation))
  
  (defun python-end-of-statement ()
--- 710,726 ----
  expressions."
    (beginning-of-line)
    (python-beginning-of-string)
!   (catch 'foo
!     (while (python-continuation-line-p)
!       (beginning-of-line)
!       (if (python-backslash-continuation-line-p)
!         (while (python-backslash-continuation-line-p)
!           (forward-line -1))
!       (python-beginning-of-string)
!       ;; Skip forward out of nested brackets.
!       (condition-case ()              ; beware invalid syntax
!           (progn (backward-up-list (syntax-ppss-depth (syntax-ppss))) t)
!         (error (throw 'foo nil))))))
    (back-to-indentation))
  
  (defun python-end-of-statement ()




reply via email to

[Prev in Thread] Current Thread [Next in Thread]