aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>2002-03-14 08:50:03 +0000
committerRichard M. Stallman <[email protected]>2002-03-14 08:50:03 +0000
commit8dd511f60761359dabd23ca8c3c874b854f42afc (patch)
treec078a0beb3b11eb315b19c9f93c965875757f98c /lisp/progmodes
parentf0dcf80149831c891df5ee5896fbf9c0419539a7 (diff)
(cperl-outline-regexp): Move definition up.
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/cperl-mode.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/progmodes/cperl-mode.el b/lisp/progmodes/cperl-mode.el
index 9f5e392be1..2605e259e1 100644
--- a/lisp/progmodes/cperl-mode.el
+++ b/lisp/progmodes/cperl-mode.el
@@ -1241,6 +1241,9 @@ the faces: please specify bold, italic, underline, shadow and box.)
The expansion is entirely correct because it uses the C preprocessor."
t)
+(defvar cperl-outline-regexp
+ (concat cperl-imenu--function-name-regexp-perl "\\|" "\\`"))
+
(defvar cperl-mode-syntax-table nil
"Syntax table in use in Cperl-mode buffers.")
@@ -4469,9 +4472,6 @@ indentation and initial hashes. Behaves usually outside of comment."
(cperl-imenu-addback index-alist)))
-(defvar cperl-outline-regexp
- (concat cperl-imenu--function-name-regexp-perl "\\|" "\\`"))
-
;; Suggested by Mark A. Hershberger
(defun cperl-outline-level ()
(looking-at outline-regexp)