dev: transition to 12c long hashes
In bumps, in :pin's, and in our git conventions. We have no rules for the commit linter for it yet, though.
This commit is contained in:
parent
74f72c15b3
commit
3bedae38dd
2 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@
|
|||
"Return a PACKAGE and its PLIST in 'username/repo@commit' format."
|
||||
(format "%s@%s"
|
||||
(plist-get (doom--package-merge-recipes package plist) :repo)
|
||||
(substring-no-properties (plist-get plist :pin) 0 7)))
|
||||
(substring-no-properties (plist-get plist :pin) 0 12)))
|
||||
|
||||
(defun doom--package-at-point (&optional point)
|
||||
"Return the package and plist from the (package! PACKAGE PLIST...) at point."
|
||||
|
|
|
@ -274,7 +274,7 @@ verbosity when editing a file in `doom-private-dir' or `doom-emacs-dir'."
|
|||
(goto-char (match-beginning 0))
|
||||
(and (stringp (plist-get (sexp-at-point) :pin))
|
||||
(search-forward ":pin" nil t)
|
||||
(let ((start (re-search-forward "\"[^\"\n]\\{10\\}" nil t))
|
||||
(let ((start (re-search-forward "\"[^\"\n]\\{12\\}" nil t))
|
||||
(finish (and (re-search-forward "\"" (line-end-position) t)
|
||||
(match-beginning 0))))
|
||||
(when (and start finish)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue