浏览代码

Support for aling.el.

Carsten Dominik 17 年之前
父节点
当前提交
73fba1d46f
共有 2 个文件被更改,包括 8 次插入0 次删除
  1. 1 0
      ChangeLog
  2. 7 0
      org.el

+ 1 - 0
ChangeLog

@@ -4,6 +4,7 @@
 	(org-schedule, org-deadline): Use
 	`org-remove-timestamp-with-keyword' to make sure all such time
 	stamps are removed.
+	(org-mode): Support for `align'.
 
 2008-02-03  Carsten Dominik  <dominik@science.uva.nl>
 

+ 7 - 0
org.el

@@ -4905,6 +4905,13 @@ The following commands are available:
 ;  (org-set-local 'comment-start "#") ;; FIXME: this breaks wrapping
   (org-set-local 'comment-padding " ")
 
+  ;; Align options lines
+  (org-set-local
+   'align-mode-rules-list
+   '((org-in-buffer-settings
+      (regexp . "^#\\+[A-Z_]+:\\(\\s-*\\)\\S-+")
+      (modes . '(org-mode)))))
+
   ;; Imenu
   (org-set-local 'imenu-create-index-function
 		 'org-imenu-get-tree)