From 005a71e4671aac71765aa998acc3533cf66c3b60 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 27 May 2021 19:32:56 -0400 Subject: [PATCH] Fix #5104 (again): void-function +format-lsp-enable-on-save-maybe-h --- modules/editor/format/config.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/editor/format/config.el b/modules/editor/format/config.el index 1e09538ee9f..9506e328a88 100644 --- a/modules/editor/format/config.el +++ b/modules/editor/format/config.el @@ -62,7 +62,7 @@ This is controlled by `+format-on-save-enabled-modes'." (not (memq major-mode (cdr +format-on-save-enabled-modes)))) ((memq major-mode +format-on-save-enabled-modes)) ((not (require 'format-all nil t)))) - (not (+format-lsp-enable-on-save-maybe-h)) + (not (+format-enable-for-lsp-on-save-maybe-h)) (let (current-prefix-arg) ; never prompt (not (car (format-all--probe)))) (+format-enable-on-save-h)))