summaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'emacs')
-rw-r--r--emacs/perl-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/perl-mode.el b/emacs/perl-mode.el
index 5d7078cf3c..cb6195dec3 100644
--- a/emacs/perl-mode.el
+++ b/emacs/perl-mode.el
@@ -572,7 +572,7 @@ Returns new value of point in all cases."
(or arg (setq arg 1))
(if (< arg 0) (forward-char 1))
(and (/= arg 0)
- (re-search-backward "^\\s(\\|^\\s-*sub\\b[^{]+{\\|^\\s-*format\\b[^=]*="
+ (re-search-backward "^\\s(\\|^\\s-*sub\\b[^{]+{\\|^\\s-*format\\b[^=]*=\\|^\\."
nil 'move arg)
(goto-char (1- (match-end 0))))
(point))