1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-17 05:30:43 -08:00

Silence sym-comp compilation

* obsolete/sym-comp.el: No need to load hipper-exp when compiling.
(he-search-string, he-tried-table, he-expand-list)
(he-init-string, he-string-member, he-substitute-string)
(he-reset-string): Declare.
This commit is contained in:
Glenn Morris 2013-05-23 20:45:50 -07:00
parent db785726cc
commit b8e57bf420
2 changed files with 12 additions and 1 deletions

View file

@ -1,5 +1,10 @@
2013-05-24 Glenn Morris <rgm@gnu.org>
* obsolete/sym-comp.el: No need to load hipper-exp when compiling.
(he-search-string, he-tried-table, he-expand-list)
(he-init-string, he-string-member, he-substitute-string)
(he-reset-string): Declare.
* obsolete/options.el (list-options): Use custom-variable-p,
rather than obsolete alias.

View file

@ -148,7 +148,13 @@ to be set buffer-locally. Variables `symbol-completion-symbol-function',
(completion-in-region (- (point) (length pattern)) (point)
completions predicate)))
(eval-when-compile (require 'hippie-exp))
(defvar he-search-string)
(defvar he-tried-table)
(defvar he-expand-list)
(declare-function he-init-string "hippie-exp" (beg end))
(declare-function he-string-member "hippie-exp" (str lst &optional trans-case))
(declare-function he-substitute-string "hippie-exp" (str &optional trans-case))
(declare-function he-reset-string "hippie-exp" ())
;;;###autoload
(defun symbol-completion-try-complete (old)