From: Lars Ingebrigtsen Date: Sat, 13 Jul 2019 15:22:50 +0000 (+0200) Subject: Add a :format to `text' widgets X-Git-Tag: emacs-27.0.90~1941 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6c6e4e822847b148b759a4725ae46ad832c52882;p=emacs.git Add a :format to `text' widgets * lisp/wid-edit.el (text): Add a :format so that the 'text fields work (bug#31309). Suggested by Phil Sainty. --- diff --git a/lisp/wid-edit.el b/lisp/wid-edit.el index d6f42dab8c4..376e3e5526f 100644 --- a/lisp/wid-edit.el +++ b/lisp/wid-edit.el @@ -1997,6 +1997,7 @@ But if NO-TRUNCATE is non-nil, include them." (define-widget 'text 'editable-field "A multiline text area." + :format "%{%t%}: %v" :keymap widget-text-keymap) ;;; The `menu-choice' Widget.