# HG changeset patch # User Oleksandr Gavenko # Date 1344758863 -10800 # Node ID 22928defcb532076ef44f9928b9f8c554a3e8ff6 # Parent 49545a5764efbc2ee8feb64f6de1c4cbcfc86352 Prevent wrap '_____' keyword. diff -r 49545a5764ef -r 22928defcb53 obsolete/dict-c5-mode.el --- a/obsolete/dict-c5-mode.el Mon Jan 09 21:10:08 2012 +0200 +++ b/obsolete/dict-c5-mode.el Sun Aug 12 11:07:43 2012 +0300 @@ -57,6 +57,10 @@ (use-local-map dict-c5-mode-map) (modify-syntax-entry ?' ".") (modify-syntax-entry ?\" ".") + (make-local-variable 'paragraph-separate) + (setq paragraph-separate "\\([ \t\f]*\\|_\\{5,\\}\\)$") + (make-local-variable 'paragraph-start) + (setq paragraph-start paragraph-separate) (add-hook 'font-lock-extend-region-functions 'dict-c5-font-lock-extend-region t) )