pkgsrc/misc/bbdb/patches/patch-lisp_bbdb-mhe.el
minskim 8541b6df9d Make bbdb build with emacs-24.
Without this patch, build fails with the following error:

 bbdb-mhe.el:56:1:Error: Invalid function: ...

Emacs is partially responsible for this, but the upstream won't fix it
since the cause of this (old-style backquote) will be removed in
emacs-25.

Patch provided by Makoto Fujiwara in PR 44963.
2011-10-11 19:30:40 +00:00

15 lines
511 B
EmacsLisp

$NetBSD: patch-lisp_bbdb-mhe.el,v 1.1 2011/10/11 19:30:40 minskim Exp $
Make bbdb build with emacs-24.
--- lisp/bbdb-mhe.el.orig 2001-08-31 15:07:47.000000000 +0000
+++ lisp/bbdb-mhe.el
@@ -37,7 +37,7 @@
(defmacro bbdb/mh-cache-key (message)
"Return a (numeric) key for MESSAGE"
- (`(let* ((attrs (file-attributes (, message)))
+ ( ` (let* ((attrs (file-attributes (, message)))
(status-time (nth 6 attrs))
(status-time-2 (cdr status-time))
(inode (nth 10 attrs)))