From c93037696aed2ec3b82d5834bf9e0e154af62aee Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Thu, 14 Nov 2002 07:13:35 +0000 Subject: [PATCH] (find-tag-default): Copy text at point without properties. --- lisp/ChangeLog | 5 +++++ lisp/progmodes/etags.el | 11 ++++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d3923e77630..01748efcf4e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2002-11-14 Per Cederqvist (tiny change) + + * progmodes/etags.el (find-tag-default): Copy text at point without + properties. + 2002-11-11 Fabrice Bauzac (tiny change) * dired-aux.el (dired-show-file-type): Format filename with "%s" to diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el index e1661c4daf9..7fe81d79d0a 100644 --- a/lisp/progmodes/etags.el +++ b/lisp/progmodes/etags.el @@ -776,11 +776,12 @@ Assumes the tags table is the current buffer." (save-excursion (end-of-line) (point)) t)) (progn (goto-char (match-end 0)) - (buffer-substring (point) - (progn (forward-sexp -1) - (while (looking-at "\\s'") - (forward-char 1)) - (point)))) + (buffer-substring-no-properties + (point) + (progn (forward-sexp -1) + (while (looking-at "\\s'") + (forward-char 1)) + (point)))) nil))) ;; Read a tag name from the minibuffer with defaulting and completion. -- 2.39.5