Changes between Version 23 and Version 24 of Perl


Ignore:
Timestamp:
11/08/06 10:44:54 (18 years ago)
Author:
atzm
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Perl

    v23 v24  
    2727 
    2828=== 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 
    3132;;; perltidy-region 
    3233(defun perltidy-region () 
     
    3536  (save-excursion 
    3637    (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                              )) 
    3841}}} 
    3942