mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 21:13:04 +00:00
* Remove a spurious test defun and incorporting a suggestion for `yas/skip-and-clear-key' by Matthew Fidler
This commit is contained in:
parent
81065f4858
commit
35eaad9d40
@ -296,7 +296,7 @@ Can also be a list of strings."
|
|||||||
(if (fboundp 'yas/init-yas-in-snippet-keymap)
|
(if (fboundp 'yas/init-yas-in-snippet-keymap)
|
||||||
(yas/init-yas-in-snippet-keymap))))
|
(yas/init-yas-in-snippet-keymap))))
|
||||||
|
|
||||||
(defcustom yas/skip-and-clear-key "C-d"
|
(defcustom yas/skip-and-clear-key '("C-d" "<delete>" "<deletechar>")
|
||||||
"The key to clear the currently active field.
|
"The key to clear the currently active field.
|
||||||
|
|
||||||
Value is a string that is converted to the internal Emacs key
|
Value is a string that is converted to the internal Emacs key
|
||||||
@ -551,10 +551,6 @@ snippet itself contains a condition that returns the symbol
|
|||||||
(defvar yas/menu-table (make-hash-table)
|
(defvar yas/menu-table (make-hash-table)
|
||||||
"A hash table of MAJOR-MODE symbols to menu keymaps.")
|
"A hash table of MAJOR-MODE symbols to menu keymaps.")
|
||||||
|
|
||||||
(defun teste ()
|
|
||||||
(interactive)
|
|
||||||
(message "AHAHA!"))
|
|
||||||
|
|
||||||
(defvar yas/known-modes
|
(defvar yas/known-modes
|
||||||
'(ruby-mode rst-mode markdown-mode)
|
'(ruby-mode rst-mode markdown-mode)
|
||||||
"A list of mode which is well known but not part of emacs.")
|
"A list of mode which is well known but not part of emacs.")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user