aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtur Malabarba2015-10-07 09:40:00 +0100
committerArtur Malabarba2015-10-07 09:40:25 +0100
commit4d04cee0602bc2238b739da10fd56eae5c23f74b (patch)
treea020d3163344295b010a19defbbb189f03183cd2
parent96973dea40b4214fe645258be81ac19102fb246e (diff)
downloademacs-4d04cee0602bc2238b739da10fd56eae5c23f74b.tar.gz
emacs-4d04cee0602bc2238b739da10fd56eae5c23f74b.zip
* lisp/progmodes/prog-mode.el (prettify-symbols-alist):
Document more possible values.
-rw-r--r--lisp/progmodes/prog-mode.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/progmodes/prog-mode.el b/lisp/progmodes/prog-mode.el
index 6696356a2dc..b459cbfd286 100644
--- a/lisp/progmodes/prog-mode.el
+++ b/lisp/progmodes/prog-mode.el
@@ -132,7 +132,11 @@ narrowing is in effect."
132 "Alist of symbol prettifications. 132 "Alist of symbol prettifications.
133Each element looks like (SYMBOL . CHARACTER), where the symbol 133Each element looks like (SYMBOL . CHARACTER), where the symbol
134matching SYMBOL (a string, not a regexp) will be shown as 134matching SYMBOL (a string, not a regexp) will be shown as
135CHARACTER instead.") 135CHARACTER instead.
136
137CHARACTER can be a character or it can be a list or vector, in
138which case it will be used to compose the new symbol as per the
139third argument of `compose-region'.")
136 140
137(defun prettify-symbols-default-compose-p (start end _match) 141(defun prettify-symbols-default-compose-p (start end _match)
138 "Return true iff the symbol MATCH should be composed. 142 "Return true iff the symbol MATCH should be composed.