[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master d919f56 02/12: Remove compat code from canlock.el
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] master d919f56 02/12: Remove compat code from canlock.el |
Date: |
Sat, 13 Feb 2016 06:16:51 +0000 |
branch: master
commit d919f56c242980cc0ba667c8e60c188462409bc6
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
Remove compat code from canlock.el
* lisp/gnus/canlock.el (defmacro): Remove
---
lisp/gnus/canlock.el | 9 +--------
1 files changed, 1 insertions(+), 8 deletions(-)
diff --git a/lisp/gnus/canlock.el b/lisp/gnus/canlock.el
index b73d863..27b00da 100644
--- a/lisp/gnus/canlock.el
+++ b/lisp/gnus/canlock.el
@@ -70,13 +70,6 @@ buffer does not look like a news message."
:type 'boolean
:group 'canlock)
-(eval-when-compile
- (defmacro canlock-string-as-unibyte (string)
- "Return a unibyte string with the same individual bytes as STRING."
- (if (fboundp 'string-as-unibyte)
- (list 'string-as-unibyte string)
- string)))
-
(defun canlock-sha1 (message)
"Make a SHA-1 digest of MESSAGE as a unibyte string of length 20 bytes."
(let (sha1-maximum-internal-length)
@@ -97,7 +90,7 @@ buffer does not look like a news message."
(canlock-sha1
(concat opad
(canlock-sha1
- (concat ipad (canlock-string-as-unibyte message-id))))))))
+ (concat ipad (string-as-unibyte message-id))))))))
(defun canlock-narrow-to-header ()
"Narrow the buffer to the head of the message."
- [Emacs-diffs] master updated (8a18bb1 -> 51ed8d5), Lars Ingebrigtsen, 2016/02/13
- [Emacs-diffs] master 97d76d9 01/12: Remove compat code from auth-source, Lars Ingebrigtsen, 2016/02/13
- [Emacs-diffs] master d919f56 02/12: Remove compat code from canlock.el,
Lars Ingebrigtsen <=
- [Emacs-diffs] master d88118d 03/12: Rewrite gmm-labels usage to use cl-labels, Lars Ingebrigtsen, 2016/02/13
- [Emacs-diffs] master c87f4a5 04/12: Remove compat code from gnus-agent.el, Lars Ingebrigtsen, 2016/02/13
- [Emacs-diffs] master 6dc0840 05/12: Remove compat code from gnus-art.el, Lars Ingebrigtsen, 2016/02/13
- [Emacs-diffs] master 95a1925 06/12: Remove compat code from gnus-cache and gnus-bookmark, Lars Ingebrigtsen, 2016/02/13
- [Emacs-diffs] master 983436d 07/12: Define gnus-diary-kill-entire-line unconditionally, Lars Ingebrigtsen, 2016/02/13
- [Emacs-diffs] master 9801227 08/12: Remove compat code from gnus-group.el, Lars Ingebrigtsen, 2016/02/13
- [Emacs-diffs] master fb5406a 09/12: Remove compat functions from gnus-html.el, Lars Ingebrigtsen, 2016/02/13
- [Emacs-diffs] master 8a1143b 10/12: Always use url-queue, Lars Ingebrigtsen, 2016/02/13
- [Emacs-diffs] master 7a42ebd 11/12: Fix compat change in last check-in, Lars Ingebrigtsen, 2016/02/13
- [Emacs-diffs] master 51ed8d5 12/12: Remove compat code from gnus-spec.el, Lars Ingebrigtsen, 2016/02/13