diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2002-11-14 07:13:35 +0000 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2002-11-14 07:13:35 +0000 |
commit | c93037696aed2ec3b82d5834bf9e0e154af62aee (patch) | |
tree | 46167e63cca244f30fc48f4f9f47a83db7b945a1 | |
parent | 8597dbe9cbd321746ce2d1baf3cd5934a433d1d5 (diff) | |
download | emacs-c93037696aed2ec3b82d5834bf9e0e154af62aee.tar.gz |
(find-tag-default): Copy text at point without properties.
-rw-r--r-- | lisp/ChangeLog | 5 | ||||
-rw-r--r-- | 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 <ceder@lysator.liu.se> (tiny change) + + * progmodes/etags.el (find-tag-default): Copy text at point without + properties. + 2002-11-11 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr> (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. |