anything-c-adaptive-sort

(anything-other-buffer
 `((name . "hoge")
   (candidates . (("Display1" . "REAL1" )
                  ("Display2" . "REAL2" )
                  ("Display3" . "REAL3" )))
   ;;,anything-c-action-hoge3)
   ;;(type . command)
   (filtered-candidate-transformer . anything-c-adaptive-sort)
   )
" *my-anything*")

を実行、

どれかを選択後、再実行

すると"Display??"部分が"REAL??"に変更されてしまう

原因はanything-c-adaptive-store-selection

(selection (anything-get-selection))

部分

(defun* anything-get-selected-candidate (&optional (buffer nil buffer-s))
  (setq buffer (if (and buffer buffer-s) buffer anything-buffer))
  (cons (anything-get-selection buffer t) (anything-get-selection buffer))
  )

などしてやって
anything-get-selected-candidateをかわりによびだすとOK