mirror of
https://github.com/joaotavora/yasnippet.git
synced 2026-02-04 06:32:24 +00:00
(yas--all-parents): Obey derived-mode-extra-parents (Issue #1193)
This commit is contained in:
@@ -854,6 +854,7 @@ which decides on the snippet to expand.")
|
||||
'fundamental-mode)
|
||||
,(let ((alias (symbol-function mode)))
|
||||
(when (symbolp alias) alias))
|
||||
,@(get mode 'derived-mode-extra-parents)
|
||||
,@(gethash mode yas--parents)))))))))
|
||||
(dolist (parent all-parents)
|
||||
(cl-pushnew mode (get parent 'yas--cached-children)))
|
||||
|
||||
Reference in New Issue
Block a user