Paste number 57624: coloring specific characters

Paste number 57624: coloring specific characters
Pasted by: davidou
When:3 years, 10 months ago
Share:Tweet this! | http://paste.lisp.org/+18GO
Channel:#xemacs
Paste contents:
Raw Source | XML | Display As
(add-hook 'scheme-mode-hook
	  (lambda ()
	    (loop for actual
	      in '(?\")
	      with glyph = nil
	      with char-table = (make-char-table 'generic)
	      do (setq glyph 
		       (make-glyph (vector 'string 
					   :data (string actual))))
	      (set-glyph-face glyph 'orange)
	      (put-char-table actual glyph char-table)
	      finally (set-specifier current-display-table (cons 'global
								 char-table)))
	    ))

This paste has no annotations.

Colorize as:
Show Line Numbers

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.