Changeset 17475 for util

Show
Ignore:
Timestamp:
08/28/07 15:51:22 (15 months ago)
Author:
renormalist
Message:

- cperl-mode: differentiation between hash vs. blocks didn't work - comment out

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • util/cperl-mode.el

    r16591 r17475  
    69146914  ;; Positions is before ?\{.  Checks whether it starts a block. 
    69156915  ;; No save-excursion!  This is more a distinguisher of a block/hash ref... 
    6916   (or 
    6917    (and ; perl6: it's never a hash if whitespace before brace 
    6918     (cond (cperl-use-v6)) 
    6919     (memq (preceding-char) (append " \t" nil))) 
     6916; ss5: 2007-08-27 seems not to work 
     6917;  (or 
     6918;   (and ; perl6: it's never a hash if whitespace before brace 
     6919;    (cond (cperl-use-v6)) 
     6920;    (memq (preceding-char) (append " \t" nil))) 
    69206921   (progn 
    69216922     (cperl-backward-to-noncomment (point-min)) 
     
    69416942             (progn ; perl6: "if/elsif/unless/while/until/given/when/for/loop" without parens; just look at beginning of line 
    69426943               (beginning-of-line) 
    6943                (looking-at "\\s *}?\\s *\\(\\(els\\(e\\s +\\|\\)\\)?if\\|un\\(less\\|til\\)\\|given\\|wh\\(ile\\|en\\)\\|for\\|loop\\)\\>"))))))) 
     6944               (looking-at "\\s *}?\\s *\\(\\(els\\(e\\s +\\|\\)\\)?if\\|un\\(less\\|til\\)\\|given\\|wh\\(ile\\|en\\)\\|for\\|loop\\)\\>"))))) 
     6945; corresponding to ss5: 2007-08-27 seems not to work 
     6946;) 
     6947) 
    69446948 
    69456949;;; What is the difference of (cperl-after-block-p lim t) and (cperl-block-p)?