From 7292ec32c9bf89ce75861270d2da6ba4030de6b8 Mon Sep 17 00:00:00 2001 From: Daniel Mendler Date: Tue, 24 Sep 2024 08:32:00 +0200 Subject: [PATCH] ; Warn more explicitly about deprecations. --- exwm-background.el | 1 + exwm-randr.el | 1 + exwm-systemtray.el | 1 + exwm-xim.el | 1 + exwm-xsettings.el | 1 + 5 files changed, 5 insertions(+) diff --git a/exwm-background.el b/exwm-background.el index 789012a..9d8497d 100644 --- a/exwm-background.el +++ b/exwm-background.el @@ -47,6 +47,7 @@ (defun exwm-background-enable () "Enable EXWM background support." + (message "`exwm-background-enable' is obsolete. Use `exwm-background-mode' instead.") (exwm-background-mode 1)) (make-obsolete 'exwm-background-enable "Use `exwm-background-mode' instead." "0.30") diff --git a/exwm-randr.el b/exwm-randr.el index ad6cec5..4446b42 100644 --- a/exwm-randr.el +++ b/exwm-randr.el @@ -108,6 +108,7 @@ corresponding monitors whenever the monitors are active. (defun exwm-randr-enable () "Enable EXWM RandR support." + (message "`exwm-randr-enable' is obsolete. Use `exwm-randr-mode' instead.") (exwm-randr-mode 1)) (make-obsolete 'exwm-randr-enable "Use `exwm-randr-mode' instead." "0.30") diff --git a/exwm-systemtray.el b/exwm-systemtray.el index 9ad29ac..622e531 100644 --- a/exwm-systemtray.el +++ b/exwm-systemtray.el @@ -59,6 +59,7 @@ (defun exwm-systemtray-enable () "Enable EXWM systemtray support." + (message "`exwm-systemtray-enable' is obsolete. Use `exwm-systemtray-mode' instead.") (exwm-systemtray-mode 1)) (make-obsolete 'exwm-systemtray-enable "Use `exwm-systemtray-mode' instead." "0.30") diff --git a/exwm-xim.el b/exwm-xim.el index 85ddeb1..e0f457a 100644 --- a/exwm-xim.el +++ b/exwm-xim.el @@ -805,6 +805,7 @@ Such event would be received when the client window is destroyed." (defun exwm-xim-enable () "Enable EXWM XIM support." + (message "`exwm-xim-enable' is obsolete. Use `exwm-xim-mode' instead.") (exwm-xim-mode 1)) (make-obsolete 'exwm-xim-enable "Use `exwm-xim-mode' instead." "0.30") diff --git a/exwm-xsettings.el b/exwm-xsettings.el index 44b3766..cf83023 100644 --- a/exwm-xsettings.el +++ b/exwm-xsettings.el @@ -70,6 +70,7 @@ (defun exwm-xsettings-enable () "Enable EXWM xsettings support." + (message "`exwm-xsettings-enable' is obsolete. Use `exwm-xsettings-mode' instead.") (exwm-xsettings-mode 1)) (make-obsolete 'exwm-xsettings-enable "Use `exwm-xsettings-mode' instead." "0.30")