Changes between Version 23 and Version 24 of Perl
- Timestamp:
- 11/08/06 10:44:54 (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Perl
v23 v24 27 27 28 28 === Emacs から使う === 29 * from http://unknownplace.org/memo/2005/12/11#e001 30 {{{ 29 * cperl-mode の indent-region を [http://unknownplace.org/memo/2005/12/11#e001 perltidy-region] に置き換える 30 {{{ 31 #!el 31 32 ;;; perltidy-region 32 33 (defun perltidy-region () … … 35 36 (save-excursion 36 37 (shell-command-on-region (point) (mark) "perltidy -q" nil t))) 37 (global-set-key "\C-ct" 'perltidy-region) 38 (add-hook 'cperl-mode-hook '(lambda () 39 (cperl-define-key "\e\C-\\" 'perltidy-region) 40 )) 38 41 }}} 39 42