[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/wid-edit.el
From: |
Richard M . Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/wid-edit.el |
Date: |
Sun, 05 Dec 2004 09:33:51 -0500 |
Index: emacs/lisp/wid-edit.el
diff -c emacs/lisp/wid-edit.el:1.131 emacs/lisp/wid-edit.el:1.132
*** emacs/lisp/wid-edit.el:1.131 Sat Nov 27 12:50:34 2004
--- emacs/lisp/wid-edit.el Sun Dec 5 14:19:01 2004
***************
*** 339,344 ****
--- 339,346 ----
;; one character.
(let ((overlay (make-overlay (1- to) to nil t nil)))
(overlay-put overlay 'field 'boundary)
+ ;; We need the real field for tabbing.
+ (overlay-put overlay 'real-field widget)
;; Use `local-map' here, not `keymap', so that normal editing
;; works in the field when, say, Custom uses `suppress-keymap'.
(overlay-put overlay 'local-map keymap)
***************
*** 1149,1155 ****
"Return the widget field at POS, or nil if none."
(let ((field (get-char-property (or pos (point)) 'field)))
(if (eq field 'boundary)
! nil
field)))
(defun widget-field-buffer (widget)
--- 1151,1157 ----
"Return the widget field at POS, or nil if none."
(let ((field (get-char-property (or pos (point)) 'field)))
(if (eq field 'boundary)
! (get-char-property (or pos (point)) 'real-field)
field)))
(defun widget-field-buffer (widget)
- [Emacs-diffs] Changes to emacs/lisp/wid-edit.el,
Richard M . Stallman <=