Changes between Version 25 and Version 26 of Perl


Ignore:
Timestamp:
11/08/06 11:04:46 (18 years ago)
Author:
atzm
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Perl

    v25 v26  
    2727 
    2828=== Emacs から使う === 
    29  * cperl-mode の indent-region を [http://unknownplace.org/memo/2005/12/11#e001 perltidy-region] に置き換える 
     29 * cperl-mode の時は indent-region が呼ばれた際,代わりに [http://unknownplace.org/memo/2005/12/11#e001 perltidy-region] を呼ぶ 
    3030   * .emacs に以下を追加 
    3131{{{ 
     
    3838    (shell-command-on-region (point) (mark) "perltidy -q" nil t))) 
    3939(add-hook 'cperl-mode-hook '(lambda () 
    40                               (cperl-define-key "\e\C-\\" 'perltidy-region) 
     40                              (defalias 'cperl-indent-region 'perltidy-region) 
    4141                              )) 
    4242}}}