Commit f6f4ac04 authored by jao's avatar jao

Refix #271, and consider gardening instead of programming

parent f5e1a108
......@@ -62,21 +62,14 @@
(geiser-eval--send/result `(:eval (:ge module-completions ,prefix))))
(defvar geiser-completion--module-list-func
(cond ((< emacs-major-version 25)
(completion-table-dynamic 'geiser-completion--symbol-list))
((= emacs-major-version 25)
(completion-table-dynamic 'geiser-completion--module-list t))
(t (completion-table-dynamic 'geiser-completion--module-list))))
(if (= emacs-major-version 25)
(completion-table-dynamic 'geiser-completion--module-list t)
(completion-table-dynamic 'geiser-completion--module-list)))
(defvar geiser-completion-symbol-list-func
(if (< emacs-major-version 25)
(completion-table-dynamic 'geiser-completion--symbol-list t)))
(defvar geiser-completion-module-list-func
(if (< emacs-major-version 25)
(completion-table-dynamic 'geiser-completion--module-list)
(completion-table-dynamic 'geiser-completion--module-list t)))
(defun geiser-completion--complete (prefix modules)
(if modules (geiser-completion--module-list prefix)
(geiser-completion--symbol-list prefix)))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment