Hugo: don't bother requiring subr-x, we don't need named-let anymore

This commit is contained in:
MitchMarq42 2023-02-08 13:57:03 -09:00
parent 470d2b8e45
commit ecd90db36d

View File

@ -688,7 +688,6 @@ See https://emacs.stackexchange.com/questions/2538/how-to-define-additional-mode
(defun hugo-dir-above (dir) (defun hugo-dir-above (dir)
"Return path of Hugo project root above or at DIR. "Return path of Hugo project root above or at DIR.
Return nil if DIR is not in a hugo project at all." Return nil if DIR is not in a hugo project at all."
(require 'subr-x)
(let ((thisdir dir)) (let ((thisdir dir))
(let ((lexical-binding t)) (let ((lexical-binding t))
(if (eq thisdir nil) nil (if (eq thisdir nil) nil