.emacs.d/site-lisp/oni.el
This commit is contained in:
parent
19524caf26
commit
92eba9c869
1 changed files with 8 additions and 2 deletions
|
@ -228,7 +228,8 @@ If COUNT has been specified indent by that much, otherwise look at
|
||||||
(visual-line-mode)
|
(visual-line-mode)
|
||||||
(setq mode-line-format (append (cddr jabber-chat-header-line-format)
|
(setq mode-line-format (append (cddr jabber-chat-header-line-format)
|
||||||
'(global-mode-string))
|
'(global-mode-string))
|
||||||
header-line-format nil))
|
header-line-format nil
|
||||||
|
wrap-prefix (make-string 8 ?\ )))
|
||||||
|
|
||||||
(defun oni:jabber-roster-mode-func ()
|
(defun oni:jabber-roster-mode-func ()
|
||||||
"Function for `jabber-roster-mode-hook'."
|
"Function for `jabber-roster-mode-hook'."
|
||||||
|
@ -278,7 +279,7 @@ If COUNT has been specified indent by that much, otherwise look at
|
||||||
to add yasnippet's expand function to hippie-expand."
|
to add yasnippet's expand function to hippie-expand."
|
||||||
(require other)
|
(require other)
|
||||||
(add-to-list 'hippie-expand-try-functions-list
|
(add-to-list 'hippie-expand-try-functions-list
|
||||||
'yas/hippie-try-expand))
|
'yas/hippie-try-expand t))
|
||||||
|
|
||||||
(defun oni:lua-mode-func()
|
(defun oni:lua-mode-func()
|
||||||
"Function for `lua-mode-hook'."
|
"Function for `lua-mode-hook'."
|
||||||
|
@ -609,6 +610,11 @@ for easy selection."
|
||||||
"Function for `write-file-hooks'."
|
"Function for `write-file-hooks'."
|
||||||
(time-stamp))
|
(time-stamp))
|
||||||
|
|
||||||
|
(defun oni:yas-minor-mode-func ()
|
||||||
|
"Function for `yas-minor-mode-hook'."
|
||||||
|
(define-key yas-minor-mode-map (kbd "TAB") nil)
|
||||||
|
(define-key yas-minor-mode-map [(tab)] nil))
|
||||||
|
|
||||||
(define-skeleton html-tag
|
(define-skeleton html-tag
|
||||||
"Testing creation of an html tag"
|
"Testing creation of an html tag"
|
||||||
"Tagname:"
|
"Tagname:"
|
||||||
|
|
Loading…
Reference in a new issue