update readme
This commit is contained in:
parent
6e36931edd
commit
8b3dcbbac2
@ -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
|
- ✅ **Sub-property Deletion**: Precisely remove specific keys from nested properties
|
||||||
```elisp
|
```elisp
|
||||||
;; Only delete :style from :underline, preserve :color
|
;; 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
|
- ✅ **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
|
- ✅ **Smart Face Merging**: Symbol faces are automatically prepended to face lists, plist faces are deep merged
|
||||||
|
|||||||
@ -76,7 +76,7 @@
|
|||||||
- ✅ **子属性删除**:精确移除嵌套属性中的特定键
|
- ✅ **子属性删除**:精确移除嵌套属性中的特定键
|
||||||
```elisp
|
```elisp
|
||||||
;; 只删除 :underline 中的 :style,保留 :color
|
;; 只删除 :underline 中的 :style,保留 :color
|
||||||
(tp-remove 1 10 '(face :underline (:style)))
|
(tp-remove 1 10 '(face :underline :style))
|
||||||
```
|
```
|
||||||
- ✅ **深度合并**:`tp-add` 递归合并嵌套的 plist 结构
|
- ✅ **深度合并**:`tp-add` 递归合并嵌套的 plist 结构
|
||||||
- ✅ **Face 智能合并**:符号 face 自动前置到 face 列表,plist face 深度合并
|
- ✅ **Face 智能合并**:符号 face 自动前置到 face 列表,plist face 深度合并
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user