projects
/
cubicaltt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43cc019
)
Use cubicaltt syntax table in the process buffer.
author
Mike Shulman
<shulman@sandiego.edu>
Thu, 7 Sep 2017 05:12:59 +0000
(22:12 -0700)
committer
Anders 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
patch
|
blob
|
blame
|
history
diff --git
a/cubicaltt.el
b/cubicaltt.el
index 0b80db17bc69e8a590ade92ae489f205e0e79eed..43dcdd83b22171657a1253c2426aea3e5185e821 100644
(file)
--- 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 ()