From: Juanma Barranquero Date: Thu, 14 Nov 2002 07:13:35 +0000 (+0000) Subject: (find-tag-default): Copy text at point without properties. X-Git-Tag: emacs-pretest-21.2.93~26 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c93037696aed2ec3b82d5834bf9e0e154af62aee;p=emacs.git (find-tag-default): Copy text at point without properties. --- 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.