branch: master
commit 4d220f726a5c8adf51b3a330ca53a20141c3e0aa
Author: Joao Tavora <[email protected]>
Commit: Joao Tavora <[email protected]>
Remove an obsolete hack notice
* yasnippet.el (yas-x-prompt): Remove hack notice.
---
yasnippet.el | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/yasnippet.el b/yasnippet.el
index 608cccf..b3b5157 100644
--- a/yasnippet.el
+++ b/yasnippet.el
@@ -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