emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 2/3] lisp/progmodes/etags.el don't (forward-char) as it's ove


From: Eli Zaretskii
Subject: Re: [PATCH 2/3] lisp/progmodes/etags.el don't (forward-char) as it's overriden next line
Date: Sat, 16 Mar 2019 14:43:51 +0200

> From: Konstantin Kharlamov <address@hidden>
> Date: Sat, 16 Mar 2019 04:53:13 +0300
> 
> diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el
> index 05dc7aa1baf..62637414ef8 100644
> --- a/lisp/progmodes/etags.el
> +++ b/lisp/progmodes/etags.el
> @@ -1395,11 +1395,6 @@ etags-goto-tag-location
>            (re-search-forward pat nil t)
>            (user-error "Rerun etags: `%s' not found in %s"
>                        pat buffer-file-name)))
> -    ;; Position point at the right place
> -    ;; if the search string matched an extra Ctrl-m at the beginning.
> -    (and (eq selective-display t)
> -      (looking-at "\^m")
> -      (forward-char 1))
>      (beginning-of-line)))

Did you actually try this change with selective-display in effect?
Because I'm not sure it is correct in that case.

Thanks.



reply via email to

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