summaryrefslogtreecommitdiff
path: root/lisp/hippie-exp.el
diff options
context:
space:
mode:
authorDave Love <fx@gnu.org>1999-11-25 19:18:59 +0000
committerDave Love <fx@gnu.org>1999-11-25 19:18:59 +0000
commitddb6e2e2058910551e412b634d582511e901c912 (patch)
tree6b6b0eb55eb38e3d564517c8d02f9890826ab2ee /lisp/hippie-exp.el
parente144fd4e478ee34f90cee96cc76824d0a366f052 (diff)
downloademacs-ddb6e2e2058910551e412b634d582511e901c912.tar.gz
Require comint when compiling.
(hippie-expand): Add :links. (hippie-expand-try-functions-list): Customize.
Diffstat (limited to 'lisp/hippie-exp.el')
-rw-r--r--lisp/hippie-exp.el29
1 files changed, 18 insertions, 11 deletions
diff --git a/lisp/hippie-exp.el b/lisp/hippie-exp.el
index df2d88f5978..747b5d6a61d 100644
--- a/lisp/hippie-exp.el
+++ b/lisp/hippie-exp.el
@@ -168,8 +168,12 @@
;;; 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)
@@ -198,19 +202,22 @@
(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