changeset 107201:79d3f11c8368

subr.el (remove-yank-excluded-properties): Explain in a comment why `category' property is removed.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 20 Feb 2010 10:59:16 +0200
parents e8c35d7a4eac
children 5e6600997bb8 a5eeeb631d8a b8e814363b3d
files lisp/ChangeLog lisp/subr.el
diffstat 2 files changed, 10 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Fri Feb 19 16:36:29 2010 -0500
+++ b/lisp/ChangeLog	Sat Feb 20 10:59:16 2010 +0200
@@ -1,3 +1,8 @@
+2010-02-20  Eli Zaretskii  <eliz@gnu.org>
+
+	* subr.el (remove-yank-excluded-properties): Explain in a comment
+	why `category' property is removed.
+
 2010-02-19  Chong Yidong  <cyd@stupidchicken.com>
 
 	* isearch.el (isearch-update-post-hook, isearch-update): Revert
--- a/lisp/subr.el	Fri Feb 19 16:36:29 2010 -0500
+++ b/lisp/subr.el	Sat Feb 20 10:59:16 2010 +0200
@@ -2442,7 +2442,11 @@
   "Remove `yank-excluded-properties' between START and END positions.
 Replaces `category' properties with their defined properties."
   (let ((inhibit-read-only t))
-    ;; Replace any `category' property with the properties it stands for.
+    ;; Replace any `category' property with the properties it stands
+    ;; for.  This is to remove `mouse-face' properties that are placed
+    ;; on categories in *Help* buffers' buttons.  See
+    ;; http://lists.gnu.org/archive/html/emacs-devel/2002-04/msg00648.html
+    ;; for the details.
     (unless (memq yank-excluded-properties '(t nil))
       (save-excursion
 	(goto-char start)