From 15582b42a63619f29d4cbb65b9aaa407f7eb544b Mon Sep 17 00:00:00 2001 From: Lucas Sta Maria Date: Tue, 23 Jan 2024 17:22:23 -0500 Subject: [PATCH] fix(emacs): correct latex bindings Signed-off-by: Lucas Sta Maria --- .emacs.d/include/latexconfig.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.emacs.d/include/latexconfig.el b/.emacs.d/include/latexconfig.el index c36c650..8053e21 100644 --- a/.emacs.d/include/latexconfig.el +++ b/.emacs.d/include/latexconfig.el @@ -32,8 +32,7 @@ (keymap-local-set "C-c C-/" (lambda () (interactive) - (when (texmathp) - (LaTeX-math-frac)))) + (LaTeX-math-frac (not (texmathp))))) (keymap-substitute cdlatex-mode-map 'cdlatex-dollar 'cdlatex-math-symbol) (setq cdlatex-math-symbol-prefix ?$)