> * Roland Winkler <jvax...@tah.bet> [2011-04-13 11:05:30 -0500]:
>
> Just curious: which dialect of emacs do you have in mind here?
your predecessor removed my cvs write permissions because he thought I
was not careful enough with support of ancient emacsen.
this is the only reason for the checks.
if you do not care about obsolete emacsen, please apply this instead.
diff --git a/lisp/bbdb.el b/lisp/bbdb.el
index 74f3cfc..332d41c 100644
--- a/lisp/bbdb.el
+++ b/lisp/bbdb.el
@@ -1366,7 +1366,7 @@ APPEND and INVERT appear in the message area.")
;;; Keymap
(defvar bbdb-mode-map
(let ((km (make-sparse-keymap)))
- (suppress-keymap km)
+ (set-keymap-parent km special-mode-map)
(define-key km "*" 'bbdb-do-all-records)
(define-key km "+" 'bbdb-append-display)
(define-key km "!" 'bbdb-search-invert)
@@ -1387,7 +1387,6 @@ APPEND and INVERT appear in the message area.")
(define-key km "m" 'bbdb-mail)
(define-key km "M" 'bbdb-mail-address)
(define-key km "\M-d" 'bbdb-dial)
- (define-key km "g" 'bbdb-revert-buffer)
(define-key km "h" 'bbdb-info)
(define-key km "?" 'bbdb-help)
(define-key km "q" 'bbdb-bury-buffer)
@@ -3107,6 +3106,8 @@ There are numerous hooks. M-x apropos ^bbdb.*hook RET
mode-line-modified
'(bbdb-read-only (bbdb-modified "%*" "%%")
(bbdb-modified "**" "--")))
+ (set (make-variable-buffer-local 'revert-buffer-function)
+ 'bbdb-revert-buffer)
(add-hook 'post-command-hook 'force-mode-line-update nil t)
(use-local-map bbdb-mode-map)
(run-hooks 'bbdb-mode-hook))
--
Sam Steingold (http://sds.podval.org/) on CentOS release 5.5 (Final) X
11.0.60900031
http://ffii.org http://palestinefacts.org http://pmw.org.il
http://www.memritv.org http://openvotingconsortium.org http://iris.org.il
If you think big enough, you'll never have to do it.
------------------------------------------------------------------------------
Forrester Wave Report - Recovery time is now measured in hours and minutes
not days. Key insights are discussed in the 2010 Forrester Wave Report as
part of an in-depth evaluation of disaster recovery service providers.
Forrester found the best-in-class provider in terms of services and vision.
Read this report now! http://p.sf.net/sfu/ibm-webcastpromo
_______________________________________________
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/