aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorChong Yidong2012-08-18 13:11:38 +0800
committerChong Yidong2012-08-18 13:11:38 +0800
commit2170b1bdd500484349deec2d946119e6a653e198 (patch)
tree516c6e5f25a53a94c403f3524a18518c3b290983 /etc
parent6a09a33b5551348f15c7c6f5a6182c57e0ee8ef4 (diff)
downloademacs-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 'etc')
-rw-r--r--etc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index a6f6822ab48..fa8a9bd30d0 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -160,6 +160,10 @@ The PCL-CVS commands are still available via the keyboard.
160 160
161* Editing Changes in Emacs 24.3 161* Editing Changes in Emacs 24.3
162 162
163** New option `yank-handled-properties' allows processing of text
164properties on yanked text, in more ways that are more general than
165just removing them, as done by `yank-excluded-properties'.
166
163** New option `delete-trailing-lines' specifies whether the M-x 167** New option `delete-trailing-lines' specifies whether the M-x
164delete-trailing-whitespace command should delete trailing lines at the 168delete-trailing-whitespace command should delete trailing lines at the
165end of the buffer. It defaults to t. 169end of the buffer. It defaults to t.