comparison lisp/progmodes/cperl-mode.el @ 78487:419c5c316b51

Replace `iff' in doc-strings and comments.
author Glenn Morris <rgm@gnu.org>
date Wed, 08 Aug 2007 07:31:11 +0000
parents 377800d78812
children d168a4166b80 424b655804ca
comparison
equal deleted inserted replaced
78486:f0a07da7dd45 78487:419c5c316b51
3556 (if set-st 3556 (if set-st
3557 (progn 3557 (progn
3558 (modify-syntax-entry starter (if (eq starter ?\\) "\\" ".") st) 3558 (modify-syntax-entry starter (if (eq starter ?\\) "\\" ".") st)
3559 (if ender (modify-syntax-entry ender "." st)))) 3559 (if ender (modify-syntax-entry ender "." st))))
3560 ;; i: have 2 args, after end of the first arg 3560 ;; i: have 2 args, after end of the first arg
3561 ;; i2: start of the second arg, if any (before delim iff `ender'). 3561 ;; i2: start of the second arg, if any (before delim if `ender').
3562 ;; ender: the last arg bounded by parens-like chars, the second one of them 3562 ;; ender: the last arg bounded by parens-like chars, the second one of them
3563 ;; starter: the starting delimiter of the first arg 3563 ;; starter: the starting delimiter of the first arg
3564 ;; go-forward: has 2 args, and the second part is empty 3564 ;; go-forward: has 2 args, and the second part is empty
3565 (list i i2 ender starter go-forward))) 3565 (list i i2 ender starter go-forward)))
3566 3566
8088 (setq buffer-read-only t))))) 8088 (setq buffer-read-only t)))))
8089 8089
8090 (defun cperl-beautify-regexp-piece (b e embed level) 8090 (defun cperl-beautify-regexp-piece (b e embed level)
8091 ;; b is before the starting delimiter, e before the ending 8091 ;; b is before the starting delimiter, e before the ending
8092 ;; e should be a marker, may be changed, but remains "correct". 8092 ;; e should be a marker, may be changed, but remains "correct".
8093 ;; EMBED is nil iff we process the whole REx. 8093 ;; EMBED is nil if we process the whole REx.
8094 ;; The REx is guaranteed to have //x 8094 ;; The REx is guaranteed to have //x
8095 ;; LEVEL shows how many levels deep to go 8095 ;; LEVEL shows how many levels deep to go
8096 ;; position at enter and at leave is not defined 8096 ;; position at enter and at leave is not defined
8097 (let (s c tmp (m (make-marker)) (m1 (make-marker)) c1 spaces inline code pos) 8097 (let (s c tmp (m (make-marker)) (m1 (make-marker)) c1 spaces inline code pos)
8098 (if (not embed) 8098 (if (not embed)