mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 21:13:04 +00:00
Remove an obsolete hack notice
* yasnippet.el (yas-x-prompt): Remove hack notice.
This commit is contained in:
parent
1fc858fac6
commit
4d220f726a
@ -1534,13 +1534,6 @@ Optional PROMPT sets the prompt to use."
|
|||||||
|
|
||||||
(defun yas-x-prompt (prompt choices &optional display-fn)
|
(defun yas-x-prompt (prompt choices &optional display-fn)
|
||||||
"Display choices in a x-window prompt."
|
"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)
|
(when (and window-system choices)
|
||||||
(let ((chosen
|
(let ((chosen
|
||||||
(let (menu d) ;; d for display
|
(let (menu d) ;; d for display
|
||||||
|
Loading…
x
Reference in New Issue
Block a user