aboutsummaryrefslogtreecommitdiffstats
path: root/oni-ediff.el
diff options
context:
space:
mode:
authorGravatar Tom Willemse2019-10-06 11:35:00 -0700
committerGravatar Tom Willemse2019-10-06 11:35:00 -0700
commit298885434b3375ab254ec36a4dd4d2c721da2618 (patch)
treecb00bc588048c477f4a6ee3a4df5259bc198d57b /oni-ediff.el
parentb9d40baf5e7396fd4d1b667c3aa6e898a11d38f8 (diff)
downloademacs-config-298885434b3375ab254ec36a4dd4d2c721da2618.tar.gz
emacs-config-298885434b3375ab254ec36a4dd4d2c721da2618.zip
Fix errors in ‘oni-termux’
For some reason it appears that ‘alert-termux’ is added to the ‘load-path’ after ‘oni-termux’, so that when ‘oni-termux’ calls ‘require’ for ‘alert-termux’ it hasn’t been added to the ‘load-path’ yet and fails. When requiring the ‘battery’ library it seems to immediately try to read some information. Since Termux isn’t actually a linux distribution if fails with a "Permission Denied" error when trying to read ‘/sys/class/power_supply’. To prevent this from happening the ‘battery-status-function’ needs to be set before loading ‘battery’.
Diffstat (limited to 'oni-ediff.el')
0 files changed, 0 insertions, 0 deletions