402| 13
|
[源码] 求一个单行文本替换的源码 |
499明经币
最佳答案(defun X:chgterr (s / p)
(if (/= s "Function cancelled") ; If an error (such as CTRL-C) occurs
(princ (strcat "\nError: " s)) ; while this command is active...
)
(setq p nil) ; Free selection set
(setq *error* olderr) ; Restore old *error* handler
(princ)
)
(defun XJ:CHANGETEXT (SS OLD NEW / p l n e os as ns st s nsl osl sl si chf chm olderr)
...
| ||
| ||
点评
穷得叮当响了
| ||
| ||
| ||
| ||