Function: denote-file-is-writable-and-supported-p

denote-file-is-writable-and-supported-p is a byte-compiled function defined in denote.el.

Signature

(denote-file-is-writable-and-supported-p FILE)

Documentation

Return non-nil if FILE is writable and has supported extension.

Source Code

;; Defined in ~/.emacs.d/elpa/denote-4.2.3/denote.el
(defun denote-file-is-writable-and-supported-p (file)
  "Return non-nil if FILE is writable and has supported extension."
  ;; We do not want to test that the file is regular (exists) because we want
  ;; this function to return t on files that are still unsaved.
  (and (file-writable-p file)
       (denote-file-has-supported-extension-p file)))