summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2015-10-07 09:40:00 +0100
committerArtur Malabarba <bruce.connor.am@gmail.com>2015-10-07 09:40:25 +0100
commit4d04cee0602bc2238b739da10fd56eae5c23f74b (patch)
treea020d3163344295b010a19defbbb189f03183cd2 /lisp
parent96973dea40b4214fe645258be81ac19102fb246e (diff)
downloademacs-4d04cee0602bc2238b739da10fd56eae5c23f74b.tar.gz
emacs-4d04cee0602bc2238b739da10fd56eae5c23f74b.tar.bz2
emacs-4d04cee0602bc2238b739da10fd56eae5c23f74b.zip
* lisp/progmodes/prog-mode.el (prettify-symbols-alist):
Document more possible values.
Diffstat (limited to 'lisp')
-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."
"Alist of symbol prettifications.
Each element looks like (SYMBOL . CHARACTER), where the symbol
matching SYMBOL (a string, not a regexp) will be shown as
-CHARACTER instead.")
+CHARACTER instead.
+
+CHARACTER can be a character or it can be a list or vector, in
+which case it will be used to compose the new symbol as per the
+third argument of `compose-region'.")
(defun prettify-symbols-default-compose-p (start end _match)
"Return true iff the symbol MATCH should be composed.