3 (eval-when-compile (require 'cl))
5 (defvar company-oddmuse-link-regexp
6 "\\(\\<[A-Z][[:alnum:]]*\\>\\)\\|\\[\\[\\([[:alnum:]]+\\>\\|\\)")
8 (defun company-oddmuse (command &optional arg &rest ignored)
10 ('prefix (let ((case-fold-search nil))
11 (and (eq major-mode 'oddmuse-mode)
12 (looking-back company-oddmuse-link-regexp (point-at-bol))
15 ('candidates (all-completions arg
16 (oddmuse-make-completion-table oddmuse-wiki)))
19 (provide 'company-oddmuse)
20 ;;; company-oddmuse.el ends here