Changeset 4200 for trunk/lisp/expand.el
- Timestamp:
- 04/07/07 15:49:28 (2 years ago)
- Files:
-
- trunk/lisp/expand.el (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lisp/expand.el
r4190 r4200 52 52 ;; and enter Abbrev mode with the following hook : 53 53 ;; 54 ;; (add-hook 'c-mode-hook (function (lambda () 55 ;; (expand-add-abbrevs c-mode-abbrev-table c-expand-list) 56 ;; (abbrev-mode)))) 54 ;; (add-hook 'c-mode-hook 55 ;; (lambda () 56 ;; (expand-add-abbrevs c-mode-abbrev-table c-expand-list) 57 ;; (abbrev-mode 1))) 57 58 ;; 58 59 ;; you can also init some post-process hooks : 59 60 ;; 60 61 ;; (add-hook 'expand-load-hook 61 ;; (function 62 ;; (lambda () 63 ;; (add-hook 'expand-expand-hook 'indent-according-to-mode) 64 ;; (add-hook 'expand-jump-hook 'indent-according-to-mode)))) 62 ;; (lambda () 63 ;; (add-hook 'expand-expand-hook 'indent-according-to-mode) 64 ;; (add-hook 'expand-jump-hook 'indent-according-to-mode))) 65 65 ;; 66 66 ;; Remarks: … … 337 337 338 338 (put 'expand-abbrev-hook 'no-self-insert t) 339 ;;;###autoload 339 340 (defun expand-abbrev-hook () 340 341 "Abbrev hook used to do the expansion job of expand abbrevs.
