Translator on Emacs. Supports multiple engines such as Google, Bing, deepL, ChatGPT, StarDict, Youdao and so on.
GNU General Public License v3.0
283
stars
38
forks
source link
gts-translate-list can not manage dotted pairs #26
Closed
gynamics closed 2 years ago
我试图用
custom-group
对变量gts-translate-list
进行配置,该变量在defcustom中设置为alist
类型,默认存储为加点对,但是gts-all-paths
似乎并不能正确处理加点对。问题在于gts-core.el第385-386行的cadr
,cdr
作用于列表和加点对产生的结果是不同的。为了兼容加点对,我的修改建议如下: