diff options
author | Tom Willemse | 2014-04-16 00:14:45 +0200 |
---|---|---|
committer | Tom Willemse | 2014-04-16 00:20:36 +0200 |
commit | fab20693a794068be15913e8dd59b8f133260538 (patch) | |
tree | 484563d23b83b1d87220a59fa14cdf78281d6d0a /.emacs.d/site-lisp | |
parent | a267e97f68c4a5ec010cfb680390c39eafb4ff0e (diff) | |
download | emacs-fab20693a794068be15913e8dd59b8f133260538.tar.gz emacs-fab20693a794068be15913e8dd59b8f133260538.zip |
Use rx and allow for use of sha256
Diffstat (limited to '.emacs.d/site-lisp')
-rw-r--r-- | .emacs.d/site-lisp/pkgbuild.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.emacs.d/site-lisp/pkgbuild.el b/.emacs.d/site-lisp/pkgbuild.el index e9e33bf..9cfde12 100644 --- a/.emacs.d/site-lisp/pkgbuild.el +++ b/.emacs.d/site-lisp/pkgbuild.el @@ -28,7 +28,7 @@ "Look in the current buffer for the start and end of the checksums." (save-excursion (goto-char (point-min)) - (re-search-forward "\\(md5\\|sha1\\)sums=") + (re-search-forward (rx (or "md5" "sha1" "sha256") "sums")) (let ((start (match-beginning 0))) (search-forward "(") (backward-char) |