summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2002-11-14 07:18:12 +0000
committerJuanma Barranquero <lekktu@gmail.com>2002-11-14 07:18:12 +0000
commit841e0fe4ae76d004684c6279f5774c401ef8184f (patch)
tree3c14da62ea7893f001ad9c49b930b36a19b138af
parent8d3c687c6eaff305a5e9491750034cebfd35bb72 (diff)
downloademacs-841e0fe4ae76d004684c6279f5774c401ef8184f.tar.gz
(find-tag-default): Copy text at point without properties.
-rw-r--r--lisp/ChangeLog7
-rw-r--r--lisp/progmodes/etags.el11
2 files changed, 12 insertions, 6 deletions
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 <ceder@lysator.liu.se> (tiny change)
+
+ * progmodes/etags.el (find-tag-default): Copy text at point without
+ properties.
+
2002-11-14 Kenichi Handa <handa@m17n.org>
* 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 <spiegel@gnu.org>
* 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.