diff --git a/README.md b/README.md index 9169aa9..f4a8717 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/README_CN.md b/README_CN.md index 25406d7..d727d3b 100644 --- a/README_CN.md +++ b/README_CN.md @@ -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 深度合并