emacs-china / EGO

EGO is a static site generator that depends on Emacs, Git and Org-mode.
94 stars 11 forks source link

Symbol's function definition is void: string-trim (when publishing) #86

Closed zhcosin closed 8 years ago

zhcosin commented 8 years ago

The error "Symbol's function definition is void: string-trim" has been occur when I execute ego-test-current-page or ego-do-publication. emacs-24.5-bin-i686-mingw32 on windows 7. ego has been installed by packages as ego-20160822.849

kuangdash commented 8 years ago

string-trim is located in subr-x.el.gz which emacs provides by default.

Use (require 'subr-x) then it can be done.

zhcosin commented 8 years ago

Thanks, this solution is OK.

lujun9972 commented 8 years ago

Which means should add the '(require 'subr-x)' into the source file.