Bug 30958

Summary: markdown: C-x C-s C-p can't format a region which is the whole buffer (C-x h)
Product: Sisyphus Reporter: Ivan Zakharyaschev <imz>
Component: emacs-text-modesAssignee: Evgenii Terechkov <evg>
Status: NEW --- QA Contact: qa-sisyphus
Severity: normal    
Priority: P3 CC: cas, eugvv, evg, msp, sbolshakov, viy
Version: unstable   
Hardware: all   
OS: Linux   

Description Ivan Zakharyaschev 2015-04-23 13:01:29 MSK
emacs-text-modes-0.2-alt3

Open a file, use markdown-mode, (write something), mark the whole buffer (C-x h).

Try to format the region as a code block: C-x C-s C-p

Error occurs:

looking-back: Invalid search bound (wrong side of point)