]> git.eshelyaron.com Git - emacs.git/commitdiff
(he-dabbrev-skip-space, he-dabbrev-as-symbol):
authorRichard M. Stallman <rms@gnu.org>
Fri, 30 May 1997 05:30:58 +0000 (05:30 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 30 May 1997 05:30:58 +0000 (05:30 +0000)
Move definitions up.  Use defcustom.

lisp/hippie-exp.el

index bc87eab26886879fb325afe04d347fe8f7e0e85b..dfb36f37f433cab1944387f8c73f0df83e1918e1 100644 (file)
   "Expand text trying various ways to find its expansion."
   :group 'abbrev)
 
+(defcustom he-dabbrev-skip-space nil
+  "Non-nil means tolerate trailing spaces in the abbreviation to expand."
+  :group hippie-expand
+  :type 'boolean)
+
+(defcustom he-dabbrev-as-symbol t
+  "Non-nil means expand as symbols, i.e. syntax `_' is considered a letter."
+  :group hippie-expand
+  :type 'boolean)
+
 (defvar he-num -1)
 
 (defvar he-string-beg (make-marker))
@@ -1012,12 +1022,6 @@ string).  It returns t if a new expansion is found, nil otherwise."
          (setq result nil)))     ; ignore if bad prefix or already in table
     result))
 
-(defvar he-dabbrev-skip-space ()
-  "Non-NIL means tolerate trailing spaces in the abbreviation to expand.")
-
-(defvar he-dabbrev-as-symbol t
-  "Non-NIL means expand as symbols, i.e. syntax '_' is considered a letter.")
-
 (defun he-dabbrev-beg ()
   (let ((op (point)))
     (save-excursion