From: Glenn Morris Date: Fri, 24 May 2013 03:45:50 +0000 (-0700) Subject: Silence sym-comp compilation X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~2026^2~216 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b8e57bf420cdbde4a4e87f420f2e8e90b16c5d13;p=emacs.git 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. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index ee17699eb40..6a094692240 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,10 @@ 2013-05-24 Glenn Morris + * 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. diff --git a/lisp/obsolete/sym-comp.el b/lisp/obsolete/sym-comp.el index 85d427a3317..4641ca68544 100644 --- a/lisp/obsolete/sym-comp.el +++ b/lisp/obsolete/sym-comp.el @@ -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)