diff options
author | Kyle Meyer <kyle@kyleam.com> | 2014-05-04 23:18:22 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2014-05-04 23:18:22 -0400 |
commit | 3f0ce0bfe7fa49149c73e27e77224a3e22f61769 (patch) | |
tree | e3eb5df78584dbb62c6956a89b626c62d94d347f /lisp | |
parent | b15ba9f8250c433b621da023f7607cbf29c25581 (diff) | |
download | emacs.d-3f0ce0bfe7fa49149c73e27e77224a3e22f61769.tar.gz |
Make maxlevel optional in org-set-refiling-buffer
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/init-org.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/init-org.el b/lisp/init-org.el index 9ad29a0..9068823 100644 --- a/lisp/init-org.el +++ b/lisp/init-org.el @@ -239,7 +239,7 @@ A numeric prefix can be given to set MAXLEVEL (defaults to 2)." (org-icompleting-read "Buffer: " (mapcar 'buffer-name (org-buffer-list 'files))))) -(defun km/org-set-refiling-buffer (maxlevel) +(defun km/org-set-refiling-buffer (&optional maxlevel) "Choose buffer to set as sole target in `org-refile-targets'. If `org-refile-targets' is already a local variable, restore the global value. A numeric prefix can be given to set |