Function: auth-source-netrc-parse@handle-symlink

auth-source-netrc-parse@handle-symlink is a byte-compiled function defined in ghub.el.

Signature

(auth-source-netrc-parse@handle-symlink FN &rest ARGS)

Documentation

Follow symlinks for FILE before comparing modification times.

Source Code

;; Defined in ~/.emacs.d/elpa/ghub-20260401.1239/ghub.el
(define-advice auth-source-netrc-parse (:around (fn &rest args) handle-symlink)
  "Follow symlinks for FILE before comparing modification times."
  (let ((file (plist-get args :file)))
    (when (and (stringp file)
               (file-exists-p file))
      (setq args (plist-put args :file (file-chase-links file)))))
  (apply fn args))