From d7b3684a2e549f9b9c7a3a431bc225018adc2fc2 Mon Sep 17 00:00:00 2001 From: Mike Shulman Date: Wed, 6 Sep 2017 22:12:59 -0700 Subject: [PATCH] Use cubicaltt syntax table in the process buffer. This way forward-sexp and backward-sexp work there too, despite the use of backslash for lambda. --- cubicaltt.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cubicaltt.el b/cubicaltt.el index 0b80db1..43dcdd8 100644 --- a/cubicaltt.el +++ b/cubicaltt.el @@ -120,6 +120,9 @@ If no buffer is loaded, then this variable is nil.") cubicaltt-cubical-process (let ((process (make-comint "cubical" cubicaltt-command))) (setq cubicaltt-cubical-process process) + (save-current-buffer + (set-buffer process) + (set-syntax-table cubicaltt-syntax-table)) process))) (defun cubicaltt-load () -- 2.34.1