diff options
author | Case Duckworth | 2021-09-27 23:05:46 -0500 |
---|---|---|
committer | Case Duckworth | 2021-09-27 23:05:46 -0500 |
commit | 131781cf826e1e960dc04da5c43da16a9c31ce21 (patch) | |
tree | c8ea3235f4b52a43d6cc952730a1bf7b3163a819 | |
parent | Install super-save-mode (diff) | |
download | emacs-131781cf826e1e960dc04da5c43da16a9c31ce21.tar.gz emacs-131781cf826e1e960dc04da5c43da16a9c31ce21.zip |
Message when toggling lexical-binding
-rw-r--r-- | init.el | 4 |
1 files changed, 3 insertions, 1 deletions
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!!!" | |||
408 | (:bind "b" (defun acdw/toggle-lexical-binding () | 408 | (:bind "b" (defun acdw/toggle-lexical-binding () |
409 | "Toggle `lexical-binding' in the current buffer." | 409 | "Toggle `lexical-binding' in the current buffer." |
410 | (interactive) | 410 | (interactive) |
411 | (setq lexical-binding (not lexical-binding))))) | 411 | (setq lexical-binding (not lexical-binding)) |
412 | (message "Lexical-binding is %s" | ||
413 | (if lexical-binding "on." "off."))))) | ||
412 | 414 | ||
413 | 415 | ||
414 | (:with-map case-map | 416 | (:with-map case-map |