From dc26c38af7fc65fc2cb59c5083cd14e0ef7cc7b0 Mon Sep 17 00:00:00 2001 From: Daniel Mendler Date: Tue, 9 Jan 2024 19:41:37 +0100 Subject: Remove obsolete functions and variables These functions and variables have been marked as obsolete over five years ago. * exwm-input.el (exwm-input-set-simulation-keys): Remove obsolete function. * exwm-randr.el (exwm-randr--refresh, exwm-randr-workspace-output-plist): Remove obsolete aliases. --- exwm-input.el | 5 ----- exwm-randr.el | 7 ------- 2 files changed, 12 deletions(-) diff --git a/exwm-input.el b/exwm-input.el index bb97adc623..5767f13978 100644 --- a/exwm-input.el +++ b/exwm-input.el @@ -984,11 +984,6 @@ multiple keys. If END-KEY is non-nil, stop sending keys if it's pressed." #'exwm-input-send-simulation-key)))) exwm-input--simulation-keys)) -(defun exwm-input-set-simulation-keys (simulation-keys) - "Please customize or set `exwm-input-simulation-keys' instead." - (declare (obsolete nil "26")) - (exwm-input--set-simulation-keys simulation-keys)) - (defcustom exwm-input-simulation-keys nil "Simulation keys. diff --git a/exwm-randr.el b/exwm-randr.el index abfa84fe81..e98074fecb 100644 --- a/exwm-randr.el +++ b/exwm-randr.el @@ -91,10 +91,6 @@ corresponding monitors whenever the monitors are active. \\='(1 \"HDMI-1\" 3 \"DP-1\")" :type '(plist :key-type integer :value-type string)) -(with-no-warnings - (define-obsolete-variable-alias 'exwm-randr-workspace-output-plist - 'exwm-randr-workspace-monitor-plist "27.1")) - (defvar exwm-randr--last-timestamp 0 "Used for debouncing events.") (defvar exwm-randr--prev-screen-change-seqnum nil @@ -269,9 +265,6 @@ In a mirroring setup some monitors overlap and should be treated as one." (xcb:flush exwm--connection) (run-hooks 'exwm-randr-refresh-hook)))) -(define-obsolete-function-alias 'exwm-randr--refresh #'exwm-randr-refresh - "27.1") - (defun exwm-randr--on-ScreenChangeNotify (data _synthetic) "Handle `ScreenChangeNotify' event. -- cgit 1.4.1