Mercurial > emacs
comparison lisp/cus-edit.el @ 43063:9f236506400a
Fix typo in prompt.
author | Pavel Janík <Pavel@Janik.cz> |
---|---|
date | Sat, 02 Feb 2002 15:52:36 +0000 |
parents | 09e1ef4107e7 |
children | 6dab4dad0093 |
comparison
equal
deleted
inserted
replaced
43062:c9d1c7655c9f | 43063:9f236506400a |
---|---|
810 | 810 |
811 If VARIABLE has a `custom-type' property, it must be a widget and the | 811 If VARIABLE has a `custom-type' property, it must be a widget and the |
812 `:prompt-value' property of that widget will be used for reading the value. | 812 `:prompt-value' property of that widget will be used for reading the value. |
813 | 813 |
814 If given a prefix (or a COMMENT argument), also prompt for a comment." | 814 If given a prefix (or a COMMENT argument), also prompt for a comment." |
815 (interactive (custom-prompt-variable "Set and ave variable: " | 815 (interactive (custom-prompt-variable "Set and save variable: " |
816 "Set and save value for %s as: " | 816 "Set and save value for %s as: " |
817 current-prefix-arg)) | 817 current-prefix-arg)) |
818 (funcall (or (get var 'custom-set) 'set-default) var value) | 818 (funcall (or (get var 'custom-set) 'set-default) var value) |
819 (put var 'saved-value (list (custom-quote value))) | 819 (put var 'saved-value (list (custom-quote value))) |
820 (cond ((string= comment "") | 820 (cond ((string= comment "") |