summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimen Heggestøyl <simenheg@gmail.com>2016-02-23 19:56:52 +1100
committerLars Ingebrigtsen <larsi@gnus.org>2016-02-23 19:56:52 +1100
commitad99299f400d348026d0a6cca7551ad6371014b9 (patch)
tree3e178d60412b538a38eca869dd4f706c6a305fc5
parentaeac60371585c4bd9a809b04591448597491fece (diff)
downloademacs-ad99299f400d348026d0a6cca7551ad6371014b9.tar.gz
Allow pretty lambdas in Scheme mode
* lisp/progmodes/scheme.el (scheme-mode-variables): Borrow `prettify-symbols-alist' from Lisp mode (bug#21679).
-rw-r--r--lisp/progmodes/scheme.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/progmodes/scheme.el b/lisp/progmodes/scheme.el
index 27ce60bde44..1fbc87e748d 100644
--- a/lisp/progmodes/scheme.el
+++ b/lisp/progmodes/scheme.el
@@ -156,6 +156,7 @@
nil t (("+-*/.<>=!?$%_&~^:" . "w") (?#. "w 14"))
beginning-of-defun
(font-lock-mark-block-function . mark-defun)))
+ (setq-local prettify-symbols-alist lisp-prettify-symbols-alist)
(setq-local lisp-doc-string-elt-property 'scheme-doc-string-elt))
(defvar scheme-mode-line-process "")