emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] 236/287: add electric-pair-made as an option


From: Matthew Fidler
Subject: [elpa] 236/287: add electric-pair-made as an option
Date: Wed, 02 Jul 2014 14:46:17 +0000

mlf176f2 pushed a commit to branch externals/ergoemacs-mode
in repository elpa.

commit 1edcf0acac650bb989c3cd010faf69a6abc66a39
Author: akfoss <address@hidden>
Date:   Fri Jun 27 01:06:42 2014 +0430

    add electric-pair-made as an option
    
    by using electric-pair-mode on Emacs >= 24 we can make emacs to 
automatically insert closing parentheses or bracket
---
 ergoemacs-menus.el |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/ergoemacs-menus.el b/ergoemacs-menus.el
index 220f4f8..b4b616e 100644
--- a/ergoemacs-menus.el
+++ b/ergoemacs-menus.el
@@ -662,6 +662,9 @@ All other modes are assumed to be minor modes or 
unimportant.
     (blink-cursor menu-item "Cursor Blink" blink-cursor-mode
                   :button (:toggle . blink-cursor-mode))
 
+    (electric-pair menu-item "Insert Matching Parentheses/Bracket" 
electric-pair-mode
+                  :button (:toggle . electric-pair-mode))
+    
     (tabbar-mode menu-item "Tabbar" ergoemacs-menu-tabbar-toggle
                  :button (:toggle . (and (boundp 'tabbar-mode)
                                          tabbar-mode)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]