# HG changeset patch # User Richard M. Stallman # Date 744794482 0 # Node ID 3ab31f82a5293ac57dd6de9413f490587007341b # Parent 6e6fd9ff650f131e6a6a2234924e1569d2c5fe8c (etags-goto-tag-location): If match started with Ctrl-m, compensate when setting point. diff -r 6e6fd9ff650f -r 3ab31f82a529 lisp/progmodes/etags.el --- a/lisp/progmodes/etags.el Sun Aug 08 06:55:45 1993 +0000 +++ b/lisp/progmodes/etags.el Sun Aug 08 07:21:22 1993 +0000 @@ -975,6 +975,11 @@ (re-search-forward pat nil t) (error "`%s' not found in %s; time to rerun etags" 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)) (defun etags-list-tags (file)