X-Git-Url: https://git.hcoop.net/bpt/emacs.git/blobdiff_plain/0f74f7850de124626d556442d22d143d85457816..ab422c4d6899b1442cb6954c1829c1fb656b006c:/lisp/mh-e/mh-folder.el diff --git a/lisp/mh-e/mh-folder.el b/lisp/mh-e/mh-folder.el index 40febd641d..f891997d7b 100644 --- a/lisp/mh-e/mh-folder.el +++ b/lisp/mh-e/mh-folder.el @@ -1,6 +1,6 @@ ;;; mh-folder.el --- MH-Folder mode -;; Copyright (C) 2002-2003, 2005-2011 Free Software Foundation, Inc. +;; Copyright (C) 2002-2003, 2005-2013 Free Software Foundation, Inc. ;; Author: Bill Wohler ;; Maintainer: Bill Wohler @@ -520,7 +520,7 @@ font-lock is done highlighting.") ;; Register mh-folder-mode as supporting which-function-mode... (mh-require 'which-func nil t) -(when (boundp 'which-func-modes) +(when (and (boundp 'which-func-modes) (listp which-func-modes)) (add-to-list 'which-func-modes 'mh-folder-mode)) ;; Shush compiler.