diff options
author | Chong Yidong <cyd@gnu.org> | 2012-08-18 13:11:38 +0800 |
---|---|---|
committer | Chong Yidong <cyd@gnu.org> | 2012-08-18 13:11:38 +0800 |
commit | 2170b1bdd500484349deec2d946119e6a653e198 (patch) | |
tree | 516c6e5f25a53a94c403f3524a18518c3b290983 /src/casetab.c | |
parent | 6a09a33b5551348f15c7c6f5a6182c57e0ee8ef4 (diff) | |
download | emacs-2170b1bdd500484349deec2d946119e6a653e198.tar.gz |
Add yank-handled-properties; use it for `font-lock-face' and `category'
properties, instead of hard-coding these properties' special handling.
* lisp/simple.el (yank-handled-properties): New defcustom.
(yank-excluded-properties): Add font-lock-face and category.
(yank): Doc fix.
* lisp/subr.el (remove-yank-excluded-properties): Obey
yank-handled-properties. The special handling of font-lock-face
and category is now done this way, instead of being hard-coded.
(insert-for-yank-1): Remove font-lock-face handling.
(yank-handle-font-lock-face-property)
(yank-handle-category-property): New function.
Diffstat (limited to 'src/casetab.c')
0 files changed, 0 insertions, 0 deletions