]> code.delx.au - gnu-emacs-elpa/commitdiff
counsel.el (counsel-unicode-char): Display hex codes in left column
authorOleh Krehel <ohwoeowho@gmail.com>
Thu, 28 Jan 2016 08:33:09 +0000 (09:33 +0100)
committerOleh Krehel <ohwoeowho@gmail.com>
Thu, 28 Jan 2016 08:33:51 +0000 (09:33 +0100)
counsel.el

index ddf3d4fac6e6fc69865a6c5ef1fbc8b602214126..9a3adcca9581547c078d36152b5943d513073438 100644 (file)
     (ivy-read "Unicode name: "
               (mapcar (lambda (x)
                         (propertize
-                         (format "% -60s%c" (car x) (cdr x))
+                         (format "% -6X% -60s%c" (cdr x) (car x) (cdr x))
                          'result (cdr x)))
                       (ucs-names))
               :action (lambda (char)