.emacs.d/site-lisp/oni.el
This commit is contained in:
parent
1c630b0ad7
commit
2490c4a89c
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue