From: Juanma Barranquero Date: Thu, 14 Nov 2002 07:18:12 +0000 (+0000) Subject: (find-tag-default): Copy text at point without properties. X-Git-Tag: ttn-vms-21-2-B4~12476 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=841e0fe4ae76d004684c6279f5774c401ef8184f;p=emacs.git (find-tag-default): Copy text at point without properties. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 06a6e25dfb4..1d3414d185c 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-14 Kenichi Handa * progmodes/cc-vars.el: Don't cc-bytecomp-defun char-table-p. @@ -13,7 +18,7 @@ When done, go back through those markers and fill each mangled paragraph with `fill-nobreak-invisible' let-bound to t. Don't use `display' property; insert "see" directly in buffer. - + 2002-11-13 Andre Spiegel * vc-rcs.el (vc-rcs-registered): Improve comment. diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el index 8d988f45341..e3154ae4c4a 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.