emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 4d04cee: * lisp/progmodes/prog-mode.el (prettify-sy


From: Artur Malabarba
Subject: [Emacs-diffs] master 4d04cee: * lisp/progmodes/prog-mode.el (prettify-symbols-alist):
Date: Wed, 07 Oct 2015 08:41:08 +0000

branch: master
commit 4d04cee0602bc2238b739da10fd56eae5c23f74b
Author: Artur Malabarba <address@hidden>
Commit: Artur Malabarba <address@hidden>

    * lisp/progmodes/prog-mode.el (prettify-symbols-alist):
    
    Document more possible values.
---
 lisp/progmodes/prog-mode.el |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/lisp/progmodes/prog-mode.el b/lisp/progmodes/prog-mode.el
index 6696356..b459cbf 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]