about summary refs log tree commit diff stats
path: root/lisp
diff options
context:
space:
mode:
authorCase Duckworth2021-04-13 18:00:01 -0500
committerCase Duckworth2021-04-13 18:00:01 -0500
commit2632c854942f7872405c5c3c84c548806a7be8a2 (patch)
treee2ffa45979ce7d6d08c3d50f8c57d3e5ad87fe4e /lisp
parentDon't automatically show company at work (diff)
downloademacs-2632c854942f7872405c5c3c84c548806a7be8a2.tar.gz
emacs-2632c854942f7872405c5c3c84c548806a7be8a2.zip
Change (insert "\n\n") -> (newline)
Diffstat (limited to 'lisp')
-rw-r--r--lisp/acdw-org.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/acdw-org.el b/lisp/acdw-org.el index dc85015..06803d3 100644 --- a/lisp/acdw-org.el +++ b/lisp/acdw-org.el
@@ -99,13 +99,13 @@ appropriate. In tables, insert a new row or end the table."
99 ;; for now, it works well enough. 99 ;; for now, it works well enough.
100 (cond ((and itemp emptyp) 100 (cond ((and itemp emptyp)
101 (delete-region (line-beginning-position) (line-end-position)) 101 (delete-region (line-beginning-position) (line-end-position))
102 (insert "\n\n")) 102 (newline 2))
103 ((or first-item-p 103 ((or first-item-p
104 (and itemp (not emptyp)) 104 (and itemp (not emptyp))
105 item-child-p) 105 item-child-p)
106 (org-insert-item)) 106 (org-insert-item))
107 (t (delete-region (line-beginning-position) (line-end-position)) 107 (t (delete-region (line-beginning-position) (line-end-position))
108 (insert "\n"))))) 108 (newline)))))
109 109
110 ((when (fboundp 'org-inlinetask-in-task-p) 110 ((when (fboundp 'org-inlinetask-in-task-p)
111 (org-inlinetask-in-task-p)) 111 (org-inlinetask-in-task-p))