* mh-folder.el: Use boundp instead of fboundp when testing existence
authorBill Wohler <wohler@newt.com>
Sun, 3 Jul 2011 21:04:13 +0000 (14:04 -0700)
committerBill Wohler <wohler@newt.com>
Sun, 3 Jul 2011 21:04:13 +0000 (14:04 -0700)
of desktop-buffer-mode-handlers.

lisp/mh-e/ChangeLog
lisp/mh-e/mh-folder.el

index 93e486a..3c984bf 100644 (file)
@@ -1,3 +1,8 @@
+2011-07-03  Bill Wohler  <wohler@newt.com>
+
+       * mh-folder.el: Use boundp instead of fboundp when testing
+       existence of desktop-buffer-mode-handlers.
+
 2011-05-10  Jim Meyering  <meyering@redhat.com>
 
        Fix doubled-word typos.
index aab40c7..b73cc14 100644 (file)
@@ -77,7 +77,7 @@ the MH mail system."
 ;;; Desktop Integration
 
 ;; desktop-buffer-mode-handlers appeared in Emacs 22.
-(if (fboundp 'desktop-buffer-mode-handlers)
+(if (boundp 'desktop-buffer-mode-handlers)
     (add-to-list 'desktop-buffer-mode-handlers
                  '(mh-folder-mode . mh-restore-desktop-buffer)))