From 53989d62d2c39ec9acef3c0a0d2b3f46426efb7a Mon Sep 17 00:00:00 2001 From: jao Date: Sun, 31 Mar 2024 05:29:55 +0100 Subject: another one of those incorrectly named booleans --- lib/eos/jao-ednc.el | 4 ++-- lib/eos/jao-notify.el | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'lib/eos') diff --git a/lib/eos/jao-ednc.el b/lib/eos/jao-ednc.el index 5750ea7..3f7638d 100644 --- a/lib/eos/jao-ednc.el +++ b/lib/eos/jao-ednc.el @@ -1,6 +1,6 @@ ;;; jao-ednc.el --- Minibuffer notifications using EDNC -*- lexical-binding: t; -*- -;; Copyright (C) 2020, 2021 jao +;; Copyright (C) 2020, 2021, 2024 jao ;; Author: jao ;; Keywords: tools, abbrev @@ -93,7 +93,7 @@ ;;;###autoload (defun jao-ednc-setup (minibuffer-order) - (setq jao-notify-use-messages-p t) + (setq jao-notify-use-messages t) (with-eval-after-load "tracking" (when jao-ednc-use-tracking (add-to-list 'tracking-faces-priorities 'jao-ednc-tracking) diff --git a/lib/eos/jao-notify.el b/lib/eos/jao-notify.el index a3ea474..623b8cc 100644 --- a/lib/eos/jao-notify.el +++ b/lib/eos/jao-notify.el @@ -1,6 +1,6 @@ ;; jao-notify.el -- Interacting with notification daemon -;; Copyright (c) 2017, 2019, 2020, 2021 Jose Antonio Ortega Ruiz +;; Copyright (c) 2017, 2019, 2020, 2021, 2024 Jose Antonio Ortega Ruiz ;; Author: Jose Antonio Ortega Ruiz ;; Start date: Sun Jan 08, 2017 20:24 @@ -12,7 +12,7 @@ ;;; Code: -(defvar jao-notify-use-messages-p nil) +(defvar jao-notify-use-messages nil) (defvar jao-notify-timeout 5000) (defvar jao-notify-audio-icon (jao-data-file "music-player-icon.png")) @@ -23,7 +23,7 @@ (defun jao-notify (msg &optional title icon) (let ((title (when (and title (not (string-blank-p title))) title))) - (if jao-notify-use-messages-p + (if jao-notify-use-messages (message "%s%s%s" (or title "") (if title ": " "") (or msg "")) (let* ((args `(:timeout ,jao-notify-timeout)) (args (append args -- cgit v1.2.3