From 131781cf826e1e960dc04da5c43da16a9c31ce21 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Mon, 27 Sep 2021 23:05:46 -0500 Subject: Message when toggling lexical-binding --- init.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index dc81fc9..5b5d575 100644 --- a/init.el +++ b/init.el @@ -408,7 +408,9 @@ In short, DO NOT USE THIS FUNCTION!!!" (:bind "b" (defun acdw/toggle-lexical-binding () "Toggle `lexical-binding' in the current buffer." (interactive) - (setq lexical-binding (not lexical-binding))))) + (setq lexical-binding (not lexical-binding)) + (message "Lexical-binding is %s" + (if lexical-binding "on." "off."))))) (:with-map case-map -- cgit 1.4.1-21-gabe81