From e582c98bf3d84e278e21496d798e8d0be043c043 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sun, 26 Jan 2020 22:59:26 -0800 Subject: [PATCH] Search in multiple places for toast.exe on Windows --- oni-alert.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/oni-alert.el b/oni-alert.el index db1c66a..eeddc1f 100644 --- a/oni-alert.el +++ b/oni-alert.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 2020.0121.231217 +;; Version: 2020.0121.231724 ;; Package-Requires: (alert) ;; This program is free software; you can redistribute it and/or modify @@ -34,8 +34,8 @@ (setq alert-default-style 'toaster) (setq alert-toaster-command (car (cl-remove-if (lambda (loc) (not (file-exists-p loc))) - ' ("~/source/repos/toaster/toast/bin/Release/toast.exe" - "U:/projects/toaster/toast/bin/Release/toast.exe")))) + (list (expand-file-name "~/source/repos/toaster/toast/bin/Release/toast.exe") + "U:/projects/toaster/toast/bin/Release/toast.exe")))) (setq alert-toaster-default-icon emacs-icon)) (setq alert-default-style 'libnotify))