Rename "field-at-point" to "field-at-pos"
2006-05-10 Miles Bader <miles@gnu.org>
- * subr.el (field-at-point): New function.
+ * subr.el (field-at-pos): New function.
* comint.el (comint-insert-input): Use it.
(goto-char (process-mark process))
(insert input)))
(let ((pos (point)))
- (if (not (eq (field-at-point pos) 'input))
+ (if (not (eq (field-at-pos pos) 'input))
;; No input at POS, fall back to the global definition.
(let* ((keys (this-command-keys))
(last-key (and (vectorp keys) (aref keys (1- (length keys)))))
"Return non-nil if OBJECT is one of the two canonical boolean values: t or nil."
(memq object '(nil t)))
-(defun field-at-point (pos)
+(defun field-at-pos (pos)
"Return the field at position POS, taking stickiness etc into account"
(let ((raw-field (get-char-property (field-beginning pos) 'field)))
(if (eq raw-field 'boundary)