]> code.delx.au - gnu-emacs/commitdiff
Allow pretty lambdas in Scheme mode
authorSimen Heggestøyl <simenheg@gmail.com>
Tue, 23 Feb 2016 08:56:52 +0000 (19:56 +1100)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 23 Feb 2016 08:56:52 +0000 (19:56 +1100)
* lisp/progmodes/scheme.el (scheme-mode-variables): Borrow
`prettify-symbols-alist' from Lisp mode (bug#21679).

lisp/progmodes/scheme.el

index 27ce60bde446811d9f5d0f5242db4bc1199c4957..1fbc87e748dd347b2bc218c9a97652c74fbdf549 100644 (file)
          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 "")