From: Mike Shulman Date: Thu, 7 Sep 2017 05:12:59 +0000 (-0700) Subject: Use cubicaltt syntax table in the process buffer. X-Git-Url: https://git.ak3n.com/?a=commitdiff_plain;h=d7b3684a2e549f9b9c7a3a431bc225018adc2fc2;p=cubicaltt.git 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. --- 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 ()