Skip to content

Commit

Permalink
x509-swoop Clean up empty buffer if no regsions was found.
Browse files Browse the repository at this point in the history
And fix keyword A: and B: to not match in hex strings.
  • Loading branch information
Fredrik Axelsson committed Nov 16, 2024
1 parent 0cb8aba commit 2d8333f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions keywords.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# -*- eval: (ethan-wspace-mode -1); -*-
# openssl/crypto/x509/t_x509.c
Certificate:
Data:
Expand Down Expand Up @@ -157,8 +158,9 @@ EC-Parameters:
GROUP:

# eck_prn.c ECPKParameters_print
A:
B:
# NOTE: There is SPC after these so that they are not matched in hex strings
A:
B:

# openssl/crypto/x509v3/v3_bcons.c
# X509V3_add_value_bool
Expand Down
1 change: 1 addition & 0 deletions x509-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -1142,6 +1142,7 @@ Return view buffer on success."
(setq buffer-read-only t)
;; Return buffer
swoop-buffer)
(kill-buffer swoop-buffer)
(message "No BEGIN/END regions found.")
;; Return nil
nil)))
Expand Down

0 comments on commit 2d8333f

Please sign in to comment.