| commit 17: | 7935d79bfd57 |
| parent 16: | 9c560edb93b8 |
| branch: | default |
Added electric parens to elisp mode.
- View Josh's profile
-
Josh's public repos »
- django-invitation
- django-openid-auth
- django-piston
- django-draper
- django-vcs
- textmate-mode
- pyvcs
- django-cumulus
- django-twitter-oauth
- django-syncr
- django-linktag
- emacs
- oh-my-zsh
- django-twitter-backend
- Mercurial for ZSH
- python-twitter
- Adamanteus
- django-twitter
- django-storages
- Django-Piston Presentation
- oauth-python-twitter
- Django-Forerscope
- Send message
6 months ago
Changed (Δ105 bytes):
raw changeset »
init.el (3 lines added, 0 lines removed)
6 |
6 |
(define-key python-mode-map "(" 'electric-pair) |
7 |
7 |
(define-key python-mode-map "[" 'electric-pair) |
8 |
8 |
(define-key python-mode-map "{" 'electric-pair))) |
9 |
(add-hook 'emacs-lisp-mode-hook |
|
10 |
(lambda () |
|
11 |
(define-key emacs-lisp-mode-map "(" 'electric-pair))) |
|
9 |
12 |
(defun electric-pair () |
10 |
13 |
"Insert character pair without sournding spaces" |
11 |
14 |
(interactive) |
