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)
|
||||
;; Apply transform if layer has one registered
|
||||
(let* ((layer-name (plist-get props 'tp-name))
|
||||
(transform-fn (when layer-name (cdr (assoc layer-name tp-layer-transforms))))
|
||||
(final-text (if transform-fn
|
||||
(transform-fn (when layer-name
|
||||
(cdr (assoc layer-name tp-layer-transforms))))
|
||||
(final-text
|
||||
(if transform-fn
|
||||
(condition-case err
|
||||
(funcall transform-fn tp-text-val)
|
||||
(error
|
||||
|
||||
Loading…
Reference in New Issue
Block a user