Remove an obsolete hack notice

* yasnippet.el (yas-x-prompt): Remove hack notice.
This commit is contained in:
Joao Tavora 2014-03-03 08:53:20 +00:00
parent 1fc858fac6
commit 4d220f726a

View File

@ -1534,13 +1534,6 @@ Optional PROMPT sets the prompt to use."
(defun yas-x-prompt (prompt choices &optional display-fn)
"Display choices in a x-window prompt."
;; FIXME: HACK: if we notice that one of the objects in choices is
;; actually a `yas--template', defer to `yas--x-prompt-pretty-templates'
;;
;; This would be better implemented by passing CHOICES as a
;; structured tree rather than a list. Modifications would go as far
;; up as `yas--all-templates' I think.
;;
(when (and window-system choices)
(let ((chosen
(let (menu d) ;; d for display