; Warn more explicitly about deprecations.

This commit is contained in:
Daniel Mendler 2024-09-24 08:32:00 +02:00
parent f453664bd6
commit 7292ec32c9
No known key found for this signature in database
GPG key ID: D88ADB2A2693CA43
5 changed files with 5 additions and 0 deletions

View file

@ -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")

View file

@ -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")

View file

@ -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")

View file

@ -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")

View file

@ -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")