(fmakunbound 'revert-buffer-with-fine-grain-success-p)))))
(defcustom revert-buffer-quick-short-answers nil
- "How much confirmation to be done by the `revert-buffer-quit' command.
+ "How much confirmation to be done by the `revert-buffer-quick' command.
If non-nil, use `y-or-n-p' instead of `yes-or-no-p'."
:version "28.1"
:type 'boolean)
(t
(revert-buffer (not auto-save)))))
+\f
(defun recover-this-file ()
"Recover the visited file--get contents from its last auto-save file."
(interactive)
(message "No files can be recovered from this session now")))
(kill-buffer buffer))))
+\f
(defun kill-buffer-ask (buffer)
"Kill BUFFER if confirmed."
(when (yes-or-no-p (format "Buffer %s %s. Kill? "
(define-obsolete-variable-alias 'cache-long-line-scans
'cache-long-scans "24.4")
+\f
;; Trashcan handling.
(defcustom trash-directory nil
"Directory for `move-file-to-trash' to move files and directories to.
(new-fn (file-name-concat trash-files-dir files-base)))
(rename-file fn new-fn overwrite)))))))))
+\f
(defsubst file-attribute-type (attributes)
"The type field in ATTRIBUTES returned by `file-attributes'.
The value is either t for directory, string (name linked to) for
(put 'help-xref-forward-stack 'permanent-local t)
(defvar-local help-xref-stack-item nil
- "An item for `help-follow-symbok' to push onto `help-xref-stack'.
+ "An item for `help-follow-symbol' to push onto `help-xref-stack'.
The format is (FUNCTION ARGS...).")
(put 'help-xref-stack-item 'permanent-local t)