From: Dmitry Gutov Date: Wed, 20 Dec 2017 22:34:07 +0000 (+0200) Subject: Merge branch 'widen-less' into emacs-26 X-Git-Tag: emacs-26.0.91~103 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=aca827b0d0b108e26628da04d01a4e8bac372bdd;p=emacs.git Merge branch 'widen-less' into emacs-26 --- aca827b0d0b108e26628da04d01a4e8bac372bdd diff --cc lisp/progmodes/python.el index 4388cbdc060,b8926529d1e..a72a55d2d9a --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@@ -4822,14 -4807,12 +4810,12 @@@ With optional argument LINE-NUMBER, che (not (equal (char-before (point)) ?\\))) (forward-line 1)) (when (equal (char-before) ?\\) - (point-marker))))) + (point-marker)))) (defun python-info-beginning-of-backslash (&optional line-number) - "Return the point where the backslashed line start. + "Return the point where the backslashed line starts. Optional argument LINE-NUMBER forces the line number to check against." (save-excursion - (save-restriction - (prog-widen) (when line-number (python-util-goto-line line-number)) (when (python-info-line-ends-backslash-p)