summaryrefslogtreecommitdiff
path: root/helm-font.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2015-08-09 09:17:50 +0200
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2015-08-09 09:17:50 +0200
commitb7ed6b2ccb47692ef09ae11f43bc155462ff60e2 (patch)
tree23f246c321fe0a6d3e1048475ba1bd616af1108d /helm-font.el
parent3655beb65e92312d7ffa7d233242cb9966577089 (diff)
Sort ucs-names.
* helm-font.el (helm-source-ucs): Do it.
Diffstat (limited to 'helm-font.el')
-rw-r--r--helm-font.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/helm-font.el b/helm-font.el
index 9b29bef3..2f924e62 100644
--- a/helm-font.el
+++ b/helm-font.el
@@ -154,6 +154,8 @@ Only math* symbols are collected."
:init #'helm-ucs-init
:candidate-number-limit 9999
:help-message 'helm-ucs-help-message
+ :filtered-candidate-transformer
+ (lambda (candidates _source) (sort candidates #'helm-generic-sort-fn))
:action '(("Insert character" . helm-ucs-insert-char)
("Insert character name" . helm-ucs-insert-name)
("Insert character code in hex" . helm-ucs-insert-code)