Use cubicaltt syntax table in the process buffer.
authorMike Shulman <shulman@sandiego.edu>
Thu, 7 Sep 2017 05:12:59 +0000 (22:12 -0700)
committerAnders Mörtberg <andersmortberg@gmail.com>
Tue, 12 Sep 2017 10:17:15 +0000 (12:17 +0200)
This way forward-sexp and backward-sexp work there too, despite
the use of backslash for lambda.

cubicaltt.el

index 0b80db17bc69e8a590ade92ae489f205e0e79eed..43dcdd83b22171657a1253c2426aea3e5185e821 100644 (file)
@@ -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 ()