bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#9917: bug#5042: bug#9917: 24.0.90; Make `goto-line' consistent with


From: Lars Ingebrigtsen
Subject: bug#9917: bug#5042: bug#9917: 24.0.90; Make `goto-line' consistent with the line number from the minibuffer
Date: Wed, 28 Oct 2020 10:48:36 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Juri Linkov <juri@linkov.net> writes:

> Here is the fix for xref:

[...]

> -          (goto-char (or (cdr buffer-point) (point-min)))
> -          (point-marker))))))
> +          (save-restriction
> +            (widen)
> +            (goto-char (or (cdr buffer-point) (point-min)))
> +            (point-marker)))))))

Hm...  Does Dmitry have any comments here?  (Added to Cc.)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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