From db587ae8ba7d7b281f6935ed5d038b7ecf4abd5d Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Thu, 24 Oct 2024 17:19:41 +0800 Subject: [PATCH] ; Drop two outdated calls to 'require' * lisp/emacs-lisp/backtrace.el (require): * lisp/wid-edit.el (require): Don't require subr-x. if-let, when-let and friends have all been in subr.el for a while. --- lisp/emacs-lisp/backtrace.el | 1 - lisp/wid-edit.el | 1 - 2 files changed, 2 deletions(-) diff --git a/lisp/emacs-lisp/backtrace.el b/lisp/emacs-lisp/backtrace.el index 120972d6cd8..84d9e20abe9 100644 --- a/lisp/emacs-lisp/backtrace.el +++ b/lisp/emacs-lisp/backtrace.el @@ -33,7 +33,6 @@ (eval-when-compile (require 'cl-lib)) (eval-when-compile (require 'pcase)) -(eval-when-compile (require 'subr-x)) ; if-let (require 'find-func) (require 'help-mode) ; Define `help-function-def' button type. (require 'lisp-mode) diff --git a/lisp/wid-edit.el b/lisp/wid-edit.el index 6fbf6257232..ba99847f488 100644 --- a/lisp/wid-edit.el +++ b/lisp/wid-edit.el @@ -56,7 +56,6 @@ ;;; Code: (require 'cl-lib) -(eval-when-compile (require 'subr-x)) ; when-let ;; The `string' widget completion uses this. (declare-function ispell-get-word "ispell"