[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/yasnippet b86b44cce6: (yas--modes-to-activate): Pay att
|
From: |
ELPA Syncer |
|
Subject: |
[elpa] externals/yasnippet b86b44cce6: (yas--modes-to-activate): Pay attention to `major-mode-remap-alist` |
|
Date: |
Mon, 1 Jan 2024 18:59:00 -0500 (EST) |
branch: externals/yasnippet
commit b86b44cce66f2a6a9994888dd0b7b8a89c898c83
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>
(yas--modes-to-activate): Pay attention to `major-mode-remap-alist`
Should hopefully fix issue #1169.
---
yasnippet.el | 3 +++
1 file changed, 3 insertions(+)
diff --git a/yasnippet.el b/yasnippet.el
index c4f8ae48fa..c25df22266 100644
--- a/yasnippet.el
+++ b/yasnippet.el
@@ -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))
| [Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/yasnippet b86b44cce6: (yas--modes-to-activate): Pay attention to `major-mode-remap-alist`,
ELPA Syncer <=