diff options
Diffstat (limited to 'lisp/wid-edit.el')
| -rw-r--r-- | lisp/wid-edit.el | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/lisp/wid-edit.el b/lisp/wid-edit.el index 61bb4db558c..b6feecebde5 100644 --- a/lisp/wid-edit.el +++ b/lisp/wid-edit.el | |||
| @@ -1141,12 +1141,6 @@ the field." | |||
| 1141 | (kill-region (point) end) | 1141 | (kill-region (point) end) |
| 1142 | (call-interactively 'kill-line)))) | 1142 | (call-interactively 'kill-line)))) |
| 1143 | 1143 | ||
| 1144 | (defcustom widget-complete-field (lookup-key global-map "\M-\t") | ||
| 1145 | "Default function to call for completion inside fields." | ||
| 1146 | :options '(ispell-complete-word complete-tag lisp-complete-symbol) | ||
| 1147 | :type 'function | ||
| 1148 | :group 'widgets) | ||
| 1149 | |||
| 1150 | (defun widget-narrow-to-field () | 1144 | (defun widget-narrow-to-field () |
| 1151 | "Narrow to field." | 1145 | "Narrow to field." |
| 1152 | (interactive) | 1146 | (interactive) |
| @@ -1169,10 +1163,6 @@ When not inside a field, signal an error." | |||
| 1169 | (completion-in-region (nth 0 data) (nth 1 data) (nth 2 data) | 1163 | (completion-in-region (nth 0 data) (nth 1 data) (nth 2 data) |
| 1170 | (plist-get completion-extra-properties | 1164 | (plist-get completion-extra-properties |
| 1171 | :predicate)))) | 1165 | :predicate)))) |
| 1172 | ((widget-field-find (point)) | ||
| 1173 | ;; This defaulting used to be performed in widget-default-complete, but | ||
| 1174 | ;; it seems more appropriate here than in widget-default-completions. | ||
| 1175 | (call-interactively 'widget-complete-field)) | ||
| 1176 | (t | 1166 | (t |
| 1177 | (error "Not in an editable field"))))) | 1167 | (error "Not in an editable field"))))) |
| 1178 | ;; We may want to use widget completion in buffers where the major mode | 1168 | ;; We may want to use widget completion in buffers where the major mode |