|
From: | Stefan Monnier |
Subject: | Re: [Emacs-diffs] /srv/bzr/emacs/emacs-24 r111281: * progmodes/python.el (python-info-current-defun): Fix failed |
Date: | Tue, 19 Feb 2013 16:37:44 -0500 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
> - (python-nav-end-of-defun) > + (save-match-data > + ;; FIXME: avoid cluttering match-data > + ;; where's not wanted. > + (python-nav-end-of-defun)) > (+ (point) > (if (>= (current-indentation) min-indent) > (1+ (current-indentation)) I suspect this is not The Right Place for the save-match-data, since we should not assume that current-indentation won't also mess up the match-data. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |