diff options
| author | Chong Yidong | 2012-08-18 13:11:38 +0800 |
|---|---|---|
| committer | Chong Yidong | 2012-08-18 13:11:38 +0800 |
| commit | 2170b1bdd500484349deec2d946119e6a653e198 (patch) | |
| tree | 516c6e5f25a53a94c403f3524a18518c3b290983 /lisp/ChangeLog | |
| parent | 6a09a33b5551348f15c7c6f5a6182c57e0ee8ef4 (diff) | |
| download | emacs-2170b1bdd500484349deec2d946119e6a653e198.tar.gz emacs-2170b1bdd500484349deec2d946119e6a653e198.zip | |
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 'lisp/ChangeLog')
| -rw-r--r-- | lisp/ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 84a8ec18507..ec89b3784d9 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,16 @@ | |||
| 1 | 2012-08-18 Chong Yidong <cyd@gnu.org> | ||
| 2 | |||
| 3 | * simple.el (yank-handled-properties): New defcustom. | ||
| 4 | (yank-excluded-properties): Add font-lock-face and category. | ||
| 5 | (yank): Doc fix. | ||
| 6 | |||
| 7 | * subr.el (remove-yank-excluded-properties): Obey | ||
| 8 | yank-handled-properties. The special handling of font-lock-face | ||
| 9 | and category is now done this way, instead of being hard-coded. | ||
| 10 | (insert-for-yank-1): Remove font-lock-face handling. | ||
| 11 | (yank-handle-font-lock-face-property) | ||
| 12 | (yank-handle-category-property): New function. | ||
| 13 | |||
| 1 | 2012-08-17 Glenn Morris <rgm@gnu.org> | 14 | 2012-08-17 Glenn Morris <rgm@gnu.org> |
| 2 | 15 | ||
| 3 | * mail/rmailout.el (rmail-output-read-file-name): | 16 | * mail/rmailout.el (rmail-output-read-file-name): |