Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
cc6777a3
Commit
cc6777a3
authored
May 30, 2000
by
Gerd Moellmann
Browse files
(perl-indent-line): When looking for a
label, ensure that the first colon isn't followed by another.
parent
086d5b87
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lisp/progmodes/perl-mode.el
lisp/progmodes/perl-mode.el
+1
-1
No files found.
lisp/progmodes/perl-mode.el
View file @
cc6777a3
...
...
@@ -488,7 +488,7 @@ changed by, or (parse-state) if line starts in a quoted string."
((
looking-at
(
or
nochange
perl-nochange
))
0
)
(
t
(
skip-chars-forward
" \t\f"
)
(
cond
((
looking-at
"\\(\\w\\|\\s_\\)+:"
)
(
cond
((
looking-at
"\\(\\w\\|\\s_\\)+:
[^:]
"
)
(
setq
indent
(
max
1
(
+
indent
perl-label-offset
))))
((
=
(
following-char
)
?}
)
(
setq
indent
(
-
indent
perl-indent-level
)))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment