summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2012-11-05 21:04:56 +0100
committerGravatar Tom Willemsen2012-11-05 21:04:56 +0100
commit2490c4a89c8afec2def992cecda6e604686c0ec2 (patch)
tree25273e3b57ac5116667c4e0a3292211c05b88913
parent1c630b0ad7f05f19f7641fcba6525772e9f53ecd (diff)
downloaddotfiles-2490c4a89c8afec2def992cecda6e604686c0ec2.tar.gz
dotfiles-2490c4a89c8afec2def992cecda6e604686c0ec2.zip
.emacs.d/site-lisp/oni.el
-rw-r--r--.emacs.d/site-lisp/oni.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/.emacs.d/site-lisp/oni.el b/.emacs.d/site-lisp/oni.el
index 2a27e45..a2d2604 100644
--- a/.emacs.d/site-lisp/oni.el
+++ b/.emacs.d/site-lisp/oni.el
@@ -293,11 +293,13 @@ If COUNT has been specified indent by that much, otherwise look at
(defun oni:markdown-mode-func ()
"Function for `markdown-mode-hook'."
+ (setq-local comment-auto-fill-only-comments nil)
(auto-fill-mode)
(whitespace-mode))
(defun oni:message-mode-func ()
"Function for `message-mode-hook'."
+ (setq-local comment-auto-fill-only-comments nil)
(auto-fill-mode)
(flyspell-mode)
(ispell-change-dictionary (read-string "New dictionary: ")))
@@ -563,5 +565,11 @@ for easy selection."
"Function for `write-file-hooks'."
(time-stamp))
+(define-skeleton html-tag
+ "Testing creation of an html tag"
+ "Tagname:"
+ "<" str ("Attribute: " " " str "=\"" (skeleton-read "Value: ") "\"") ">\n"
+ "</" str ">\n")
+
(provide 'oni)
;;; oni.el ends here