trick the compiler
* lisp/org-macs.el (org-without-partial-completion): Avoid calling by name a function unknown to the compiler but explicitly checked by program logic.
This commit is contained in:
parent
a034526448
commit
c83cfcc243
|
@ -116,9 +116,9 @@ Also, do not record undo information."
|
|||
partial-completion-mode)))
|
||||
(unwind-protect
|
||||
(progn
|
||||
(if pc-mode (partial-completion-mode -1))
|
||||
(when pc-mode (funcall pc-mode -1))
|
||||
,@body)
|
||||
(if pc-mode (partial-completion-mode 1)))))
|
||||
(when pc-mode (funcall pc-mode 1)))))
|
||||
|
||||
(defmacro org-maybe-intangible (props)
|
||||
"Add '(intangible t) to PROPS if Emacs version is earlier than Emacs 22.
|
||||
|
|
Loading…
Reference in New Issue