CVS update by aroehler packages/xemacs-packages/python-modes ...
[email protected] 29 Sep 2009 11:51:30 -0000
| Newsgroups | gmane.emacs.xemacs.cvs |
|---|---|
| Message-ID | <[email protected]> |
User: aroehler
Date: 09/09/29 13:51:30
Modified: packages/xemacs-packages/python-modes python-mode.el
Log:
add python-mode-hooks beginning-of-defun-function, end-of-defun-function
Revision Changes Path
4.58 +4 -0 XEmacs/packages/xemacs-packages/python-modes/python-mode.el
Index: python-mode.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/python-modes/python-mode.el,v
retrieving revision 4.57
retrieving revision 4.58
diff -u -p -r4.57 -r4.58
--- python-mode.el 2009/09/29 11:36:41 4.57
+++ python-mode.el 2009/09/29 11:51:29 4.58
@@ -3969,6 +3969,10 @@ If point is inside a string, narrow to t
(t
(fill-paragraph justify))))))
+(add-hook 'python-mode-hook '(lambda ()(set (make-local-variable 'beginning-of-defun-function) 'py-beginning-of-def-or-class)))
+
+(add-hook 'python-mode-hook '(lambda ()(set (make-local-variable 'end-of-defun-function) 'py-end-of-def-or-class)))
+
(provide 'python-mode)