From 9fde385cdc6a059ac4a82a778e8f72a2d96c4bdc Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 18 Jun 2022 16:36:28 +0200 Subject: [PATCH] fix(emacs-lisp): void-function lisp--local-defform-body-p I was too hasty adding this function in 15432cf. This function wasn't introduced until Emacs 29. Amend: 15432cf9d2f8 --- modules/lang/emacs-lisp/autoload.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/lang/emacs-lisp/autoload.el b/modules/lang/emacs-lisp/autoload.el index d44032425..9eb89686a 100644 --- a/modules/lang/emacs-lisp/autoload.el +++ b/modules/lang/emacs-lisp/autoload.el @@ -107,6 +107,10 @@ if it's callable, `apropos' otherwise." (thing (helpful-symbol (intern thing))) ((call-interactively #'helpful-at-point)))) +;; DEPRECATED Remove when 28 support is dropped. +(unless (fboundp 'lisp--local-defform-body-p) + (fset 'lisp--local-defform-body-p #'ignore)) + ;;;###autoload (defun +emacs-lisp-indent-function (indent-point state) "A replacement for `lisp-indent-function'.