Require comint when compiling.
authorDave Love <fx@gnu.org>
Thu, 25 Nov 1999 19:18:59 +0000 (19:18 +0000)
committerDave Love <fx@gnu.org>
Thu, 25 Nov 1999 19:18:59 +0000 (19:18 +0000)
(hippie-expand): Add :links.
(hippie-expand-try-functions-list): Customize.

lisp/ChangeLog
lisp/hippie-exp.el

index a22ce4b..00df337 100644 (file)
@@ -1,3 +1,9 @@
+1999-11-25  Dave Love  <fx@gnu.org>
+
+       * hippie-exp.el: Require comint when compiling.
+       (hippie-expand): Add :links.
+       (hippie-expand-try-functions-list): Customize.
+
 1999-11-24  Michael Kifer  <kifer@cs.sunysb.edu>
        
        * viper*el: replaced old-style backquotes.
index df2d88f..747b5d6 100644 (file)
 
 ;;; Code:
 
+(eval-when-compile (require 'comint))
+
 (defgroup hippie-expand nil
   "Expand text trying various ways to find its expansion."
+  :link '(custom-manual "(autotype)Hippie Expand")
+  :link '(emacs-commentary-link "hippie-exp")
   :group 'abbrev
   :group 'convenience)
 
 (defvar he-search-window ())
 
 ;;;###autoload
-(defvar hippie-expand-try-functions-list '(try-complete-file-name-partially
-                                          try-complete-file-name
-                                          try-expand-all-abbrevs
-                                          try-expand-list
-                                          try-expand-line
-                                          try-expand-dabbrev
-                                          try-expand-dabbrev-all-buffers
-                                          try-expand-dabbrev-from-kill
-                                          try-complete-lisp-symbol-partially
-                                          try-complete-lisp-symbol)
+(defcustom hippie-expand-try-functions-list
+  '(try-complete-file-name-partially
+    try-complete-file-name
+    try-expand-all-abbrevs
+    try-expand-list
+    try-expand-line
+    try-expand-dabbrev
+    try-expand-dabbrev-all-buffers
+    try-expand-dabbrev-from-kill
+    try-complete-lisp-symbol-partially
+    try-complete-lisp-symbol)
   "The list of expansion functions tried in order by `hippie-expand'.
 To change the behavior of `hippie-expand', remove, change the order of,
-or insert functions in this list.")
+or insert functions in this list."
+  :type '(repeat function)
+  :group 'hippie-expand)
 
 ;;;###autoload
 (defcustom hippie-expand-verbose t