Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
0f00e948
Commit
0f00e948
authored
Feb 20, 2010
by
Eli Zaretskii
Browse files
subr.el (remove-yank-excluded-properties): Explain in a comment why `category'
property is removed.
parent
3513efb2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/subr.el
lisp/subr.el
+5
-1
No files found.
lisp/ChangeLog
View file @
0f00e948
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
...
...
lisp/subr.el
View file @
0f00e948
...
...
@@ -2442,7 +2442,11 @@ Otherwise, return nil."
"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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment