update
This commit is contained in:
parent
63b58c6cf5
commit
ec1619e047
6
tp.el
6
tp.el
@ -968,8 +968,10 @@ NEW-OBJECT is the new string object (only different for strings with tp-text)."
|
|||||||
((stringp tp-text-val)
|
((stringp tp-text-val)
|
||||||
;; Apply transform if layer has one registered
|
;; Apply transform if layer has one registered
|
||||||
(let* ((layer-name (plist-get props 'tp-name))
|
(let* ((layer-name (plist-get props 'tp-name))
|
||||||
(transform-fn (when layer-name (cdr (assoc layer-name tp-layer-transforms))))
|
(transform-fn (when layer-name
|
||||||
(final-text (if transform-fn
|
(cdr (assoc layer-name tp-layer-transforms))))
|
||||||
|
(final-text
|
||||||
|
(if transform-fn
|
||||||
(condition-case err
|
(condition-case err
|
||||||
(funcall transform-fn tp-text-val)
|
(funcall transform-fn tp-text-val)
|
||||||
(error
|
(error
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user