Lines Matching +defs:new +defs:prompt
77 will be recognized as referring to the same user; when creating a new
128 (defcustom add-log-always-start-new-record nil
129 "If non-nil, `add-change-log-entry' will always start a new record."
236 ;; Date lines, new (2000-01-01) and old (Sat Jan 1 00:00:00 2000) styles.
354 (defun prompt-for-change-log-name ()
469 ;; comparing old and new versions (e.g. for deleted
476 (defun add-change-log-entry (&optional whoami file-name other-window new-entry)
478 Optional arg WHOAMI (interactive prefix) non-nil means prompt for user
486 Fourth arg NEW-ENTRY non-nil means always create a new entry at the front;
488 otherwise affects whether a new entry is created.
490 Option `add-log-always-start-new-record' non-nil means always create a
491 new record, even when the last record was made on the same date and by
501 (prompt-for-change-log-name)))
510 ;; Set ITEM to the file name to use in the new item.
541 ;; Advance into first entry if it is usable; else make new one.
542 (let ((new-entries
558 (if (and (not add-log-always-start-new-record)
560 (dolist (entry new-entries hit)
564 (insert (nth (random (length new-entries))
565 new-entries)
581 ;; Now insert the new line for this item.
586 ((and (not new-entry)
605 ;; Make a new item.
661 (prompt-for-change-log-name))))