- Timestamp:
- 08/28/07 15:51:22 (15 months ago)
- Files:
-
- 1 modified
-
util/cperl-mode.el (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
util/cperl-mode.el
r16591 r17475 6914 6914 ;; Positions is before ?\{. Checks whether it starts a block. 6915 6915 ;; 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))) 6920 6921 (progn 6921 6922 (cperl-backward-to-noncomment (point-min)) … … 6941 6942 (progn ; perl6: "if/elsif/unless/while/until/given/when/for/loop" without parens; just look at beginning of line 6942 6943 (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 ) 6944 6948 6945 6949 ;;; What is the difference of (cperl-after-block-p lim t) and (cperl-block-p)?
