初稿: 2018-08-09 Thu 11:03
最終更新日: 2018-12-14 Fri 20:44
ホーム | 文書トップ | 目次

org-without-partial-completion
partial-completion-modeを無効にした上でbodyを実行する

 1: (defmacro org-without-partial-completion (&rest body)
 2:   (declare (debug (body)))
 3:   `(if (and (boundp 'partial-completion-mode)
 4:             partial-completion-mode
 5:             (fboundp 'partial-completion-mode))
 6:        (unwind-protect
 7:            (progn
 8:              (partial-completion-mode -1)
 9:              ,@body)
10:          (partial-completion-mode 1))
11:      ,@body))

日付: 2018-08-09 Thu 11:03

著者: conao

Created: 2018-12-14 Fri 21:04

Validate