summaryrefslogtreecommitdiffstats
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'emacs')
-rw-r--r--emacs/site-lisp/dzen.el1
-rw-r--r--emacs/site-lisp/oni.el2
-rw-r--r--emacs/snippets/org-mode/heading10
3 files changed, 6 insertions, 7 deletions
diff --git a/emacs/site-lisp/dzen.el b/emacs/site-lisp/dzen.el
index da83099..d946458 100644
--- a/emacs/site-lisp/dzen.el
+++ b/emacs/site-lisp/dzen.el
@@ -25,7 +25,6 @@
;;; Code:
(require 'newst-backend)
-(require 'sawfish)
(defvar dzen-process nil
"Dzen2's process.")
diff --git a/emacs/site-lisp/oni.el b/emacs/site-lisp/oni.el
index 2076093..cf73ac1 100644
--- a/emacs/site-lisp/oni.el
+++ b/emacs/site-lisp/oni.el
@@ -332,7 +332,7 @@ When dealing with braces, add another line and indent that too."
"Function for `org-mode-hook'."
(auto-fill-mode)
(yas-minor-mode)
- (setq-local comment-auto-fill-only-comments nil))
+ (set (make-local-variable 'comment-auto-fill-only-comments) nil))
(defun oni:php-mode-func ()
"Function for `php-mode-hook'."
diff --git a/emacs/snippets/org-mode/heading b/emacs/snippets/org-mode/heading
index 9d5451e..48dca7f 100644
--- a/emacs/snippets/org-mode/heading
+++ b/emacs/snippets/org-mode/heading
@@ -2,8 +2,8 @@
# name: Heading
# key: *
# --
-${1:*} ${2:TODO} $3
-${1:$(make-string (length text) ?\ )} :PROPERTIES:
-${1:$(make-string (length text) ?\ )} :CATEGORY: $4
-${1:$(make-string (length text) ?\ )} :END:
-${1:$(make-string (length text) ?\ )} $0 \ No newline at end of file
+*$1 ${2:TODO} $3
+ ${1:$(make-string (length text) ?\ )} :PROPERTIES:
+ ${1:$(make-string (length text) ?\ )} :CATEGORY: $4
+ ${1:$(make-string (length text) ?\ )} :END:
+ ${1:$(make-string (length text) ?\ )} $0 \ No newline at end of file