aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2003-05-06 17:43:22 +0000
committerJuanma Barranquero2003-05-06 17:43:22 +0000
commit15ca56993e52c52891a607249c627e4db1d902e7 (patch)
treeb7ac42706d01144266680fbb4ca686e9b087314c
parentd7e170b3d2c6910b77a343506c1819d7b5ed3a00 (diff)
downloademacs-15ca56993e52c52891a607249c627e4db1d902e7.tar.gz
emacs-15ca56993e52c52891a607249c627e4db1d902e7.zip
(cperl-lineup): Don't quote nil and t in docstrings.
-rw-r--r--lisp/progmodes/cperl-mode.el26
1 files changed, 13 insertions, 13 deletions
diff --git a/lisp/progmodes/cperl-mode.el b/lisp/progmodes/cperl-mode.el
index 92b84fb9cfb..8aa23d299af 100644
--- a/lisp/progmodes/cperl-mode.el
+++ b/lisp/progmodes/cperl-mode.el
@@ -38,7 +38,7 @@
38 38
39;; DO NOT FORGET to read micro-docs (available from `Perl' menu) <<<<<< 39;; DO NOT FORGET to read micro-docs (available from `Perl' menu) <<<<<<
40;; or as help on variables `cperl-tips', `cperl-problems', <<<<<< 40;; or as help on variables `cperl-tips', `cperl-problems', <<<<<<
41;; `cperl-praise', `cperl-speed'. <<<<<< 41;; `cperl-praise', `cperl-speed'. <<<<<<
42 42
43;; The mode information (on C-h m) provides some customization help. 43;; The mode information (on C-h m) provides some customization help.
44;; If you use font-lock feature of this mode, it is advisable to use 44;; If you use font-lock feature of this mode, it is advisable to use
@@ -1146,7 +1146,7 @@ the faces: please specify bold, italic, underline, shadow and box.)
1146 ["Add tags for Perl files in (sub)directories" 1146 ["Add tags for Perl files in (sub)directories"
1147 (cperl-write-tags nil nil t t) t])) 1147 (cperl-write-tags nil nil t t) t]))
1148 ("Perl docs" 1148 ("Perl docs"
1149 ["Define word at point" imenu-go-find-at-position 1149 ["Define word at point" imenu-go-find-at-position
1150 (fboundp 'imenu-go-find-at-position)] 1150 (fboundp 'imenu-go-find-at-position)]
1151 ["Help on function" cperl-info-on-command t] 1151 ["Help on function" cperl-info-on-command t]
1152 ["Help on function at point" cperl-info-on-current-command t] 1152 ["Help on function at point" cperl-info-on-current-command t]
@@ -1154,7 +1154,7 @@ the faces: please specify bold, italic, underline, shadow and box.)
1154 ["Perldoc" cperl-perldoc t] 1154 ["Perldoc" cperl-perldoc t]
1155 ["Perldoc on word at point" cperl-perldoc-at-point t] 1155 ["Perldoc on word at point" cperl-perldoc-at-point t]
1156 ["View manpage of POD in this file" cperl-build-manpage t] 1156 ["View manpage of POD in this file" cperl-build-manpage t]
1157 ["Auto-help on" cperl-lazy-install 1157 ["Auto-help on" cperl-lazy-install
1158 (and (fboundp 'run-with-idle-timer) 1158 (and (fboundp 'run-with-idle-timer)
1159 (not cperl-lazy-installed))] 1159 (not cperl-lazy-installed))]
1160 ["Auto-help off" cperl-lazy-unstall 1160 ["Auto-help off" cperl-lazy-unstall
@@ -1166,7 +1166,7 @@ the faces: please specify bold, italic, underline, shadow and box.)
1166 ["Electric keywords" cperl-toggle-abbrev t] 1166 ["Electric keywords" cperl-toggle-abbrev t]
1167 ["Fix whitespace on indent" cperl-toggle-construct-fix t] 1167 ["Fix whitespace on indent" cperl-toggle-construct-fix t]
1168 ["Auto-help on Perl constructs" cperl-toggle-autohelp t] 1168 ["Auto-help on Perl constructs" cperl-toggle-autohelp t]
1169 ["Auto fill" auto-fill-mode t]) 1169 ["Auto fill" auto-fill-mode t])
1170 ("Indent styles..." 1170 ("Indent styles..."
1171 ["CPerl" (cperl-set-style "CPerl") t] 1171 ["CPerl" (cperl-set-style "CPerl") t]
1172 ["PerlStyle" (cperl-set-style "PerlStyle") t] 1172 ["PerlStyle" (cperl-set-style "PerlStyle") t]
@@ -2912,7 +2912,7 @@ Returns true if comment is found."
2912 (goto-char (1- cpoint))))) 2912 (goto-char (1- cpoint)))))
2913 (setq stop-in t) ; Finish 2913 (setq stop-in t) ; Finish
2914 (forward-char -1)) 2914 (forward-char -1))
2915 (setq stop-in t))) ; Finish 2915 (setq stop-in t))) ; Finish
2916 (nth 4 state)))) 2916 (nth 4 state))))
2917 2917
2918(defsubst cperl-1- (p) 2918(defsubst cperl-1- (p)
@@ -3570,7 +3570,7 @@ the sections using `cperl-pod-head-face', `cperl-pod-face',
3570 ((and (eq (following-char) ?:) 3570 ((and (eq (following-char) ?:)
3571 (eq b1 ?\{) ; Check for $ { s::bar } 3571 (eq b1 ?\{) ; Check for $ { s::bar }
3572 (looking-at "::[a-zA-Z0-9_:]*[ \t\n\f]*}") 3572 (looking-at "::[a-zA-Z0-9_:]*[ \t\n\f]*}")
3573 (progn 3573 (progn
3574 (goto-char (1- go)) 3574 (goto-char (1- go))
3575 (skip-chars-backward " \t\n\f") 3575 (skip-chars-backward " \t\n\f")
3576 (memq (preceding-char) 3576 (memq (preceding-char)
@@ -4882,7 +4882,7 @@ indentation and initial hashes. Behaves usually outside of comment."
4882 (defvar cperl-guessed-background nil 4882 (defvar cperl-guessed-background nil
4883 "Display characteristics as guessed by cperl.") 4883 "Display characteristics as guessed by cperl.")
4884 ;; (or (fboundp 'x-color-defined-p) 4884 ;; (or (fboundp 'x-color-defined-p)
4885 ;; (defalias 'x-color-defined-p 4885 ;; (defalias 'x-color-defined-p
4886 ;; (cond ((fboundp 'color-defined-p) 'color-defined-p) 4886 ;; (cond ((fboundp 'color-defined-p) 'color-defined-p)
4887 ;; ;; XEmacs >= 19.12 4887 ;; ;; XEmacs >= 19.12
4888 ;; ((fboundp 'valid-color-name-p) 'valid-color-name-p) 4888 ;; ((fboundp 'valid-color-name-p) 'valid-color-name-p)
@@ -5198,7 +5198,7 @@ data already), may be restored by `cperl-set-style-back'.
5198Chosing \"Current\" style will not change style, so this may be used for 5198Chosing \"Current\" style will not change style, so this may be used for
5199side-effect of memorizing only." 5199side-effect of memorizing only."
5200 (interactive 5200 (interactive
5201 (let ((list (mapcar (function (lambda (elt) (list (car elt)))) 5201 (let ((list (mapcar (function (lambda (elt) (list (car elt))))
5202 cperl-style-alist))) 5202 cperl-style-alist)))
5203 (list (completing-read "Enter style: " list nil 'insist)))) 5203 (list (completing-read "Enter style: " list nil 'insist))))
5204 (or cperl-old-style 5204 (or cperl-old-style
@@ -5403,7 +5403,7 @@ partially contained in the region are lined up at the same column.
5403MINSHIFT is the minimal amount of space to insert before the construction. 5403MINSHIFT is the minimal amount of space to insert before the construction.
5404STEP is the tabwidth to position constructions. 5404STEP is the tabwidth to position constructions.
5405If STEP is nil, `cperl-lineup-step' will be used 5405If STEP is nil, `cperl-lineup-step' will be used
5406\(or `cperl-indent-level', if `cperl-lineup-step' is `nil'). 5406\(or `cperl-indent-level', if `cperl-lineup-step' is nil).
5407Will not move the position at the start to the left." 5407Will not move the position at the start to the left."
5408 (interactive "r") 5408 (interactive "r")
5409 (let (search col tcol seen b e) 5409 (let (search col tcol seen b e)
@@ -5658,7 +5658,7 @@ Delay of auto-help controlled by `cperl-lazy-help-time'."
5658 (string-match "^sub[ \t]+\\([_a-zA-Z]+\\)[^:_a-zA-Z]" 5658 (string-match "^sub[ \t]+\\([_a-zA-Z]+\\)[^:_a-zA-Z]"
5659 (elt elt 3))) 5659 (elt elt 3)))
5660 ;; Need to insert the name without package as well 5660 ;; Need to insert the name without package as well
5661 (setq lst (cons (cons (substring (elt elt 3) 5661 (setq lst (cons (cons (substring (elt elt 3)
5662 (match-beginning 1) 5662 (match-beginning 1)
5663 (match-end 1)) 5663 (match-end 1))
5664 (cdr elt)) 5664 (cdr elt))
@@ -5730,7 +5730,7 @@ Use as
5730 (setq cperl-unreadable-ok t 5730 (setq cperl-unreadable-ok t
5731 tm nil) ; Return empty list 5731 tm nil) ; Return empty list
5732 (error "Aborting: unreadable directory %s" file))))))) 5732 (error "Aborting: unreadable directory %s" file)))))))
5733 (mapcar (function 5733 (mapcar (function
5734 (lambda (file) 5734 (lambda (file)
5735 (cond 5735 (cond
5736 ((string-match cperl-noscan-files-regexp file) 5736 ((string-match cperl-noscan-files-regexp file)
@@ -6008,12 +6008,12 @@ One may build such TAGS files from CPerl mode menu."
6008(defvar cperl-bad-style-regexp 6008(defvar cperl-bad-style-regexp
6009 (mapconcat 'identity 6009 (mapconcat 'identity
6010 '("[^-\n\t <>=+!.&|(*/'`\"#^][-=+<>!|&^]" ; char sign 6010 '("[^-\n\t <>=+!.&|(*/'`\"#^][-=+<>!|&^]" ; char sign
6011 "[-<>=+^&|]+[^- \t\n=+<>~]") ; sign+ char 6011 "[-<>=+^&|]+[^- \t\n=+<>~]") ; sign+ char
6012 "\\|") 6012 "\\|")
6013 "Finds places such that insertion of a whitespace may help a lot.") 6013 "Finds places such that insertion of a whitespace may help a lot.")
6014 6014
6015(defvar cperl-not-bad-style-regexp 6015(defvar cperl-not-bad-style-regexp
6016 (mapconcat 6016 (mapconcat
6017 'identity 6017 'identity
6018 '("[^-\t <>=+]\\(--\\|\\+\\+\\)" ; var-- var++ 6018 '("[^-\t <>=+]\\(--\\|\\+\\+\\)" ; var-- var++
6019 "[a-zA-Z0-9_][|&][a-zA-Z0-9_$]" ; abc|def abc&def are often used. 6019 "[a-zA-Z0-9_][|&][a-zA-Z0-9_$]" ; abc|def abc&def are often used.