2011-05-10  Sam Steingold  <s...@gnu.org>

        * bbdb-com.el (bbdb-get-help-window): use `special-mode' instead
          of setting `buffer-read-only' explicitly, this way we get all
          the special bindings for free

---------------------------------------------
--- lisp/bbdb-com.el    16 Mar 2008 23:05:22 -0000
+++ lisp/bbdb-com.el    10 May 2011 13:51:57 -0000
@@ -3614,7 +3614,7 @@ (defun bbdb-get-help-window (message)
       (setq w (display-buffer b)))
     (select-window w)
     (switch-to-buffer b)
-    (setq buffer-read-only t)
+    (special-mode)
     (let ((buffer-read-only nil))
       (erase-buffer)
       (insert message))
---------------------------------------------

PS. I would appreciate it if you would give me git commit rights.

-- 
Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 
11.0.60900031
http://dhimmi.com http://mideasttruth.com http://openvotingconsortium.org
http://honestreporting.com http://ffii.org http://thereligionofpeace.com
I just forgot my whole philosophy of life!!!


------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Reply via email to