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

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


commit f223e00a8ad1b540d628e6b276eb6d0a2d67aa1a
Author: Göran Uddeborg <goeran at uddeborg.se>
Date:   Mon Jan 28 23:24:20 2013 +0100

    Remove undefined default function in menu selection

 bbdb-2.35-remove-undefined-default.patch |   20 ++++++++++++++++++++
 emacs-bbdb.spec                          |   14 ++++++++++++--
 2 files changed, 32 insertions(+), 2 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 0c34d9a..7856bd6 100644
--- a/emacs-bbdb.spec
+++ b/emacs-bbdb.spec
@@ -13,7 +13,7 @@
 
 Name:           emacs-bbdb
 Version:        2.35
-Release:        8%{?dist}
+Release:        9%{?dist}
 Epoch:		1
 Summary:        A contact management utility for use with Emacs
 Group:          Applications/Internet
@@ -35,6 +35,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
 
@@ -75,6 +80,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,
@@ -133,7 +139,11 @@ fi
 
 
 %changelog
-* Thu Jul  5 2012 Göran Uddeborg <goeran at uddeborg.se> 1:2.35-9
+* Mon Jan 28 2013 Göran Uddeborg <goeran at uddeborg.se> 1:2.35-9
+- Remove undefined default function in menu selection for customizable
+  variables.
+
+* Thu Jul  5 2012 Göran Uddeborg <goeran at uddeborg.se> 1:2.35-8
 - Update references to the removed -el packages in spec file comments.
 - Obsolete -el subpackages strictly less than release 7 rather than
   less than or equal to release 6.  Otherwise release 6 packages with


More information about the scm-commits mailing list