Skip to content

Commit

Permalink
; Warn more explicitly about deprecations.
Browse files Browse the repository at this point in the history
  • Loading branch information
minad committed Sep 24, 2024
1 parent f453664 commit 7292ec3
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions exwm-background.el
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down
1 change: 1 addition & 0 deletions exwm-randr.el
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down
1 change: 1 addition & 0 deletions exwm-systemtray.el
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down
1 change: 1 addition & 0 deletions exwm-xim.el
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down
1 change: 1 addition & 0 deletions exwm-xsettings.el
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down

0 comments on commit 7292ec3

Please sign in to comment.