chiark
/
gitweb
/
~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f21ac4
)
emacs: In programming modes (at least) treat `------' as a page boundary.
author
Mark Wooding
<mdw@distorted.org.uk>
Fri, 9 May 2008 21:23:59 +0000
(22:23 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Fri, 9 May 2008 21:23:59 +0000
(22:23 +0100)
dot-emacs.el
patch
|
blob
|
blame
|
history
diff --git
a/dot-emacs.el
b/dot-emacs.el
index 1d550d308f82780c67d281fe5e09c563b33e2e4a..7e44b6fad4cd03ac2074a778ce1dd4d2ca87fcdf 100644
(file)
--- a/
dot-emacs.el
+++ b/
dot-emacs.el
@@
-556,6
+556,8
@@
(defun mdw-misc-mode-config ()
(t
(local-set-key "\C-m" 'newline-and-indent))))
(local-set-key [C-return] 'newline)
+ (make-variable-buffer-local 'page-delimiter)
+ (setq page-delimiter "\f\\|^.*-\\{6\\}.*$")
(setq comment-column 40)
(auto-fill-mode 1)
(setq fill-column 77)