emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 6c6e4e8 1/2: Add a :format to `text' widgets


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master 6c6e4e8 1/2: Add a :format to `text' widgets
Date: Sat, 13 Jul 2019 11:50:49 -0400 (EDT)

branch: master
commit 6c6e4e822847b148b759a4725ae46ad832c52882
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    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.
---
 lisp/wid-edit.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/wid-edit.el b/lisp/wid-edit.el
index d6f42da..376e3e5 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]