[emacs-bbdb] Remove undefined default function in menu selection

Göran Uddeborg goeran at fedoraproject.org
Mon Jan 28 20:48:22 UTC 2013


commit e719a6fb6f0ab0659a3788723d93b8fc8987fab8
Author: Göran Uddeborg <goeran at uddeborg.se>
Date:   Mon Jan 28 21:48:14 2013 +0100

    Remove undefined default function in menu selection

 bbdb-2.35-remove-undefined-default.patch |   20 ++++++++++++++++++++
 emacs-bbdb.spec                          |   12 +++++++++++-
 2 files changed, 31 insertions(+), 1 deletions(-)
---
diff --git a/bbdb-2.35-remove-undefined-default.patch b/bbdb-2.35-remove-undefined-default.patch
new file mode 100644
index 0000000..918a00f
--- /dev/null
+++ b/bbdb-2.35-remove-undefined-default.patch
@@ -0,0 +1,20 @@
+--- lisp/bbdb.el.orig	2013-01-28 21:34:10.827088614 +0100
++++ lisp/bbdb.el	2013-01-28 21:34:17.519109542 +0100
+@@ -424,7 +424,7 @@
+   :type '(choice (const :tag "Automatically create" t)
+                  (const :tag "Prompt before creating" prompt)
+                  (const :tag "Do not automatically create" nil)
+-                 (function :tag "Create with function" bbdb-)))
++                 (function :tag "Create with function")))
+ 
+ (defcustom bbdb/news-auto-create-p nil
+   "*If this is t, then Gnus will automatically create new bbdb
+@@ -439,7 +439,7 @@
+   :type '(choice (const :tag "Automatically create" t)
+                  (const :tag "Prompt before creating" prompt)
+                  (const :tag "Do not automatically create" nil)
+-                 (function :tag "Create with function" bbdb-)))
++                 (function :tag "Create with function")))
+ 
+ (defcustom bbdb-quiet-about-name-mismatches nil
+   "*If this is true, then BBDB will not prompt you when it notices a
diff --git a/emacs-bbdb.spec b/emacs-bbdb.spec
index 8ecd962..31af78d 100644
--- a/emacs-bbdb.spec
+++ b/emacs-bbdb.spec
@@ -13,7 +13,7 @@
 
 Name:           emacs-bbdb
 Version:        2.35
-Release:        10%{?dist}
+Release:        11%{?dist}
 Epoch:		1
 Summary:        A contact management utility for use with Emacs
 Summary(sv):    Ett verktyg för att hantera kontakter i Emacs
@@ -36,6 +36,11 @@ Patch1: 	bbdb-2.35-emacs24-fix-mh-cache-key.patch
 # http://www.mail-archive.com/bbdb-info%40lists.sourceforge.net/msg05749.html
 Patch2:		bbdb-2.35-run-hook-with-args.patch
 
+# Remove undefined "bbdb-" as default value in menu selection.
+# Reported ustreams but ignored:
+# http://savannah.nongnu.org/bugs/?38178
+Patch3:		bbdb-2.35-remove-undefined-default.patch
+
 BuildArch:      noarch
 BuildRequires:  emacs texinfo-tex
 
@@ -94,6 +99,7 @@ done
 %patch0 -p 1 -b .fix_lisp_makefile
 %patch1 -p 0 -b .mh-cache-key
 %patch2 -p 0 -b .run-hook-with-args
+%patch3 -p 0 -b .remove-undefined-default
 
 %build
 # Note --enable-developer simply gives more verbose output during building,
@@ -148,6 +154,10 @@ fi
 
 
 %changelog
+* Mon Jan 28 2013 Göran Uddeborg <goeran at uddeborg.se> 1:2.35-11
+- Remove undefined default function in menu selection for customizable
+  variables.
+
 * Wed Jul 18 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1:2.35-10
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list