update readme

This commit is contained in:
Kinneyzhang 2025-12-15 22:35:44 +08:00
parent 6e36931edd
commit 8b3dcbbac2
2 changed files with 2 additions and 2 deletions

View File

@ -77,7 +77,7 @@ Native APIs only have simple set and get. tp.el provides three clear operation s
- ✅ **Sub-property Deletion**: Precisely remove specific keys from nested properties
```elisp
;; Only delete :style from :underline, preserve :color
(tp-remove 1 10 '(face :underline (:style)))
(tp-remove 1 10 '(face :underline :style))
```
- ✅ **Deep Merge**: `tp-add` recursively merges nested plist structures
- ✅ **Smart Face Merging**: Symbol faces are automatically prepended to face lists, plist faces are deep merged

View File

@ -76,7 +76,7 @@
- ✅ **子属性删除**:精确移除嵌套属性中的特定键
```elisp
;; 只删除 :underline 中的 :style保留 :color
(tp-remove 1 10 '(face :underline (:style)))
(tp-remove 1 10 '(face :underline :style))
```
- ✅ **深度合并**`tp-add` 递归合并嵌套的 plist 结构
- ✅ **Face 智能合并**:符号 face 自动前置到 face 列表plist face 深度合并