]> git.eshelyaron.com Git - emacs.git/commitdiff
(find-tag-default): Copy text at point without properties.
authorJuanma Barranquero <lekktu@gmail.com>
Thu, 14 Nov 2002 07:13:35 +0000 (07:13 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Thu, 14 Nov 2002 07:13:35 +0000 (07:13 +0000)
lisp/ChangeLog
lisp/progmodes/etags.el

index d3923e77630465e1d80bd60ae0dff8741b98d25b..01748efcf4ee93141d64e50e9731e517d7768b75 100644 (file)
@@ -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
index e1661c4daf908ce7f6e06a53f9726c2f9cb7bb87..7fe81d79d0a79bc44da2aa42a3de60207f79f2bd 100644 (file)
@@ -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.