Commit 95bdccb7 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

* lisp/progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end

of narrowed buffer.

Fixes: debbugs:11966
parent fbf31a9c
2012-07-18 Stefan Monnier <>
* progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
of narrowed buffer (bug#11966).
2012-07-09 Stefan Monnier <>
* progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
......@@ -3498,7 +3498,8 @@ Works before syntax recognition is done."
(if end
;; Do the same for end, going small steps
(while (and end (get-text-property end 'syntax-type))
(while (and end (< end (point-max))
(get-text-property end 'syntax-type))
(setq pos end
end (next-single-property-change end 'syntax-type nil (point-max)))
(if end (progn (goto-char end)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment