diff options
author | Glenn Morris <rgm@gnu.org> | 2013-05-10 19:25:11 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2013-05-10 19:25:11 -0700 |
commit | 445f95e2ab112f211dcd66b048628f383f9363dd (patch) | |
tree | 44b6b2cc65719abed78fcc3d9b630ecc74044e80 /lisp/calc | |
parent | 99fb275649a4e1f1e022e9d1eb2881cab526934a (diff) | |
download | emacs-445f95e2ab112f211dcd66b048628f383f9363dd.tar.gz emacs-445f95e2ab112f211dcd66b048628f383f9363dd.tar.bz2 emacs-445f95e2ab112f211dcd66b048628f383f9363dd.zip |
Make a few libraries loadable in isolation
* lisp/calc/calc-menu.el: Make it loadable in isolation.
* lisp/gnus/gnus-vm.el: Make it loadable without VM.
(gnus-vm-make-folder, gnus-summary-save-in-vm): Require 'vm.
(vm-forward-message, vm-reply, vm-mail): Remove unused autoloads.
* lisp/net/eudcb-bbdb.el: Make it loadable without bbdb.
(eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
(eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
(eudc-bbdb-query-internal): Require 'bbdb.
Diffstat (limited to 'lisp/calc')
-rw-r--r-- | lisp/calc/calc-menu.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/calc/calc-menu.el b/lisp/calc/calc-menu.el index ee98cc98c8f..5120528eaf4 100644 --- a/lisp/calc/calc-menu.el +++ b/lisp/calc/calc-menu.el @@ -1634,7 +1634,9 @@ (Info-goto-node "Help Commands"))]) "Menu for Calc's help functions.") -(defvar calc-mode-map) +;; Needed to make this file loadable in isolation. +;; Another option would be to use calc-load-hook. +(require 'calc) (easy-menu-define calc-menu |