diff options
| author | Juanma Barranquero | 2002-10-17 16:46:28 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2002-10-17 16:46:28 +0000 |
| commit | 77339a6e24b71281a37c564cb604f62e17552248 (patch) | |
| tree | ac630e8e466d2b9fd843f6b162ec471b08c30269 | |
| parent | bb6ee9f31bb063b8e091a1ee30f987fcd8d65476 (diff) | |
| download | emacs-77339a6e24b71281a37c564cb604f62e17552248.tar.gz emacs-77339a6e24b71281a37c564cb604f62e17552248.zip | |
(widget-choose): Fix typo.
| -rw-r--r-- | lisp/wid-edit.el | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/lisp/wid-edit.el b/lisp/wid-edit.el index b9139dc90e7..58cdab487f8 100644 --- a/lisp/wid-edit.el +++ b/lisp/wid-edit.el | |||
| @@ -202,7 +202,7 @@ nil means read a single character." | |||
| 202 | "Choose an item from a list. | 202 | "Choose an item from a list. |
| 203 | 203 | ||
| 204 | First argument TITLE is the name of the list. | 204 | First argument TITLE is the name of the list. |
| 205 | Second argument ITEMS is an list whose members are either | 205 | Second argument ITEMS is a list whose members are either |
| 206 | (NAME . VALUE), to indicate selectable items, or just strings to | 206 | (NAME . VALUE), to indicate selectable items, or just strings to |
| 207 | indicate unselectable items. | 207 | indicate unselectable items. |
| 208 | Optional third argument EVENT is an input event. | 208 | Optional third argument EVENT is an input event. |
| @@ -301,7 +301,7 @@ minibuffer." | |||
| 301 | (nreverse result))) | 301 | (nreverse result))) |
| 302 | 302 | ||
| 303 | ;;; Widget text specifications. | 303 | ;;; Widget text specifications. |
| 304 | ;; | 304 | ;; |
| 305 | ;; These functions are for specifying text properties. | 305 | ;; These functions are for specifying text properties. |
| 306 | 306 | ||
| 307 | (defvar widget-field-add-space t | 307 | (defvar widget-field-add-space t |
| @@ -333,7 +333,7 @@ new value.") | |||
| 333 | (rear-sticky | 333 | (rear-sticky |
| 334 | (or (not widget-field-add-space) (widget-get widget :size)))) | 334 | (or (not widget-field-add-space) (widget-get widget :size)))) |
| 335 | (if (functionp help-echo) | 335 | (if (functionp help-echo) |
| 336 | (setq help-echo 'widget-mouse-help)) | 336 | (setq help-echo 'widget-mouse-help)) |
| 337 | (when (= (char-before to) ?\n) | 337 | (when (= (char-before to) ?\n) |
| 338 | ;; When the last character in the field is a newline, we want to | 338 | ;; When the last character in the field is a newline, we want to |
| 339 | ;; give it a `field' char-property of `boundary', which helps the | 339 | ;; give it a `field' char-property of `boundary', which helps the |
| @@ -509,7 +509,7 @@ Otherwise, just return the value." | |||
| 509 | 509 | ||
| 510 | (defun widget-default-get (widget) | 510 | (defun widget-default-get (widget) |
| 511 | "Extract the default external value of WIDGET." | 511 | "Extract the default external value of WIDGET." |
| 512 | (widget-apply widget :value-to-external | 512 | (widget-apply widget :value-to-external |
| 513 | (or (widget-get widget :value) | 513 | (or (widget-get widget :value) |
| 514 | (widget-apply widget :default-get)))) | 514 | (widget-apply widget :default-get)))) |
| 515 | 515 | ||
| @@ -892,7 +892,7 @@ Recommended as a parent keymap for modes using widgets.") | |||
| 892 | (if (widget-event-point event) | 892 | (if (widget-event-point event) |
| 893 | (let* ((pos (widget-event-point event)) | 893 | (let* ((pos (widget-event-point event)) |
| 894 | (start (event-start event)) | 894 | (start (event-start event)) |
| 895 | (button (get-char-property | 895 | (button (get-char-property |
| 896 | pos 'button (and (windowp (posn-window start)) | 896 | pos 'button (and (windowp (posn-window start)) |
| 897 | (window-buffer (posn-window start)))))) | 897 | (window-buffer (posn-window start)))))) |
| 898 | (if button | 898 | (if button |
| @@ -1315,8 +1315,8 @@ Optional EVENT is the event that triggered the action." | |||
| 1315 | :indent nil | 1315 | :indent nil |
| 1316 | :offset 0 | 1316 | :offset 0 |
| 1317 | :format-handler 'widget-default-format-handler | 1317 | :format-handler 'widget-default-format-handler |
| 1318 | :button-face-get 'widget-default-button-face-get | 1318 | :button-face-get 'widget-default-button-face-get |
| 1319 | :sample-face-get 'widget-default-sample-face-get | 1319 | :sample-face-get 'widget-default-sample-face-get |
| 1320 | :delete 'widget-default-delete | 1320 | :delete 'widget-default-delete |
| 1321 | :copy 'identity | 1321 | :copy 'identity |
| 1322 | :value-set 'widget-default-value-set | 1322 | :value-set 'widget-default-value-set |
| @@ -1532,7 +1532,7 @@ If that does not exists, call the value of `widget-complete-field'." | |||
| 1532 | (or (widget-get widget :always-active) | 1532 | (or (widget-get widget :always-active) |
| 1533 | (and (not (widget-get widget :inactive)) | 1533 | (and (not (widget-get widget :inactive)) |
| 1534 | (let ((parent (widget-get widget :parent))) | 1534 | (let ((parent (widget-get widget :parent))) |
| 1535 | (or (null parent) | 1535 | (or (null parent) |
| 1536 | (widget-apply parent :active)))))) | 1536 | (widget-apply parent :active)))))) |
| 1537 | 1537 | ||
| 1538 | (defun widget-default-deactivate (widget) | 1538 | (defun widget-default-deactivate (widget) |
| @@ -1726,11 +1726,11 @@ If END is omitted, it defaults to the length of LIST." | |||
| 1726 | (find-file (locate-library (widget-value widget)))) | 1726 | (find-file (locate-library (widget-value widget)))) |
| 1727 | 1727 | ||
| 1728 | ;;; The `emacs-commentary-link' Widget. | 1728 | ;;; The `emacs-commentary-link' Widget. |
| 1729 | 1729 | ||
| 1730 | (define-widget 'emacs-commentary-link 'link | 1730 | (define-widget 'emacs-commentary-link 'link |
| 1731 | "A link to Commentary in an Emacs Lisp library file." | 1731 | "A link to Commentary in an Emacs Lisp library file." |
| 1732 | :action 'widget-emacs-commentary-link-action) | 1732 | :action 'widget-emacs-commentary-link-action) |
| 1733 | 1733 | ||
| 1734 | (defun widget-emacs-commentary-link-action (widget &optional event) | 1734 | (defun widget-emacs-commentary-link-action (widget &optional event) |
| 1735 | "Find the Commentary section of the Emacs file specified by WIDGET." | 1735 | "Find the Commentary section of the Emacs file specified by WIDGET." |
| 1736 | (finder-commentary (widget-value widget))) | 1736 | (finder-commentary (widget-value widget))) |
| @@ -3057,7 +3057,7 @@ It will read a directory name from the minibuffer when invoked." | |||
| 3057 | 3057 | ||
| 3058 | (defvar widget-coding-system-prompt-value-history nil | 3058 | (defvar widget-coding-system-prompt-value-history nil |
| 3059 | "History of input to `widget-coding-system-prompt-value'.") | 3059 | "History of input to `widget-coding-system-prompt-value'.") |
| 3060 | 3060 | ||
| 3061 | (define-widget 'coding-system 'symbol | 3061 | (define-widget 'coding-system 'symbol |
| 3062 | "A MULE coding-system." | 3062 | "A MULE coding-system." |
| 3063 | :format "%{%t%}: %v" | 3063 | :format "%{%t%}: %v" |
| @@ -3422,7 +3422,7 @@ To use this type, you must define :match or :match-alternatives." | |||
| 3422 | 3422 | ||
| 3423 | ;;; The `color' Widget. | 3423 | ;;; The `color' Widget. |
| 3424 | 3424 | ||
| 3425 | ;; Fixme: match | 3425 | ;; Fixme: match |
| 3426 | (define-widget 'color 'editable-field | 3426 | (define-widget 'color 'editable-field |
| 3427 | "Choose a color name (with sample)." | 3427 | "Choose a color name (with sample)." |
| 3428 | :format "%t: %v (%{sample%})\n" | 3428 | :format "%t: %v (%{sample%})\n" |