Toggle partial-completion-mode only if it is turned on
* org-macs.el (org-without-partial-completion): Toggle partial-completion-mode only if it is turned on.
This commit is contained in:
parent
43a380708e
commit
eaa724404b
|
@ -113,6 +113,7 @@ Also, do not record undo information."
|
|||
|
||||
(defmacro org-without-partial-completion (&rest body)
|
||||
`(if (and (boundp 'partial-completion-mode)
|
||||
partial-completion-mode
|
||||
(fboundp 'partial-completion-mode))
|
||||
(unwind-protect
|
||||
(progn
|
||||
|
|
Loading…
Reference in New Issue