branch: elpa/yaml-mode
commit b7511138e383edec40750e4c91f0eec2f5adc83b
Merge: 52d6d57 18c9135
Author: Yoshiki Kurihara <clou...@gmail.com>
Commit: Yoshiki Kurihara <clou...@gmail.com>

    Merge pull request #5 from sugyan/master
    
    patch for suppressing warnings
---
 yaml-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/yaml-mode.el b/yaml-mode.el
index 2310221..e307888 100644
--- a/yaml-mode.el
+++ b/yaml-mode.el
@@ -367,7 +367,7 @@ and indents appropriately."
   (interactive "*P")
   (self-insert-command (prefix-numeric-value arg))
   (let ((extra-chars
-         (assoc last-command-char
+         (assoc last-command-event
                 yaml-block-literal-electric-alist)))
     (cond
      ((and extra-chars (not arg) (eolp)

Reply via email to