mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 13:13:03 +00:00
(yas--modes-to-activate): Pay attention to major-mode-remap-alist
Should hopefully fix issue #1169.
This commit is contained in:
parent
52a1c50319
commit
b86b44cce6
@ -820,6 +820,9 @@ which decides on the snippet to expand.")
|
||||
;; NOTE: `fboundp' check is redundant
|
||||
;; since Emacs 24.4.
|
||||
(and (fboundp mode) (symbol-function mode))
|
||||
(and (boundp 'major-mode-remap-alist)
|
||||
(car (rassq mode
|
||||
major-mode-remap-alist)))
|
||||
(gethash mode yas--parents))
|
||||
when (and neighbour
|
||||
(not (memq neighbour explored))
|
||||
|
Loading…
x
Reference in New Issue
Block a user