kuanyui / tldr.el

tldr client for Emacs
142 stars 16 forks source link

tldr-update-docs: use tmp instead of user-emacs-directory #32

Open chasecaleb opened 4 years ago

chasecaleb commented 4 years ago

Part of tldr-update-docs tries to unzip into user-emacs-directory, which does not work for me because my user-emacs-directory is not user-writable. Instead of unzipping there and then moving to tldr-directory-path, could this be changed to unzip to tldr-directory-path directly? Or if not, at least unzip to /tmp (which is where tldr-saved-zip-path defaults to) or something along those lines?

Offending section: https://github.com/kuanyui/tldr.el/blob/269bda7001613c0b70c0662d2a74d200765c1dcb/tldr.el#L154-L156

kuanyui commented 3 years ago

Is this issue still existent?

kuanyui commented 1 year ago

Have no time to fix, please consider to make a PR.