diff options
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/electric.el | 2 | ||||
| -rw-r--r-- | lisp/loadup.el | 1 |
3 files changed, 8 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 4e838dd4181..8e4bd8f37e0 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * electric.el (electric-indent-mode): Enable by default. | ||
| 4 | * loadup.el: Preload "electric". | ||
| 5 | |||
| 1 | 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com> | 6 | 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com> |
| 2 | 7 | ||
| 3 | * emacs-lisp/helpers.el (string-empty-p): New function. | 8 | * emacs-lisp/helpers.el (string-empty-p): New function. |
diff --git a/lisp/electric.el b/lisp/electric.el index 04d0bd3e935..91b99b4bfe7 100644 --- a/lisp/electric.el +++ b/lisp/electric.el | |||
| @@ -284,6 +284,8 @@ This is a global minor mode. When enabled, it reindents whenever | |||
| 284 | the hook `electric-indent-functions' returns non-nil, or you | 284 | the hook `electric-indent-functions' returns non-nil, or you |
| 285 | insert a character from `electric-indent-chars'." | 285 | insert a character from `electric-indent-chars'." |
| 286 | :global t :group 'electricity | 286 | :global t :group 'electricity |
| 287 | :initialize 'custom-initialize-delay | ||
| 288 | :init-value t | ||
| 287 | (if (not electric-indent-mode) | 289 | (if (not electric-indent-mode) |
| 288 | (progn | 290 | (progn |
| 289 | (when (eq (lookup-key global-map [?\C-j]) | 291 | (when (eq (lookup-key global-map [?\C-j]) |
diff --git a/lisp/loadup.el b/lisp/loadup.el index d31f02a39ad..aececad804f 100644 --- a/lisp/loadup.el +++ b/lisp/loadup.el | |||
| @@ -280,6 +280,7 @@ | |||
| 280 | 280 | ||
| 281 | (load "vc/vc-hooks") | 281 | (load "vc/vc-hooks") |
| 282 | (load "vc/ediff-hook") | 282 | (load "vc/ediff-hook") |
| 283 | (load "electric") | ||
| 283 | (if (not (eq system-type 'ms-dos)) (load "tooltip")) | 284 | (if (not (eq system-type 'ms-dos)) (load "tooltip")) |
| 284 | 285 | ||
| 285 | ;; This file doesn't exist when building a development version of Emacs | 286 | ;; This file doesn't exist when building a development version of Emacs |