all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Why is mumamo-chunk-iss-code not defined?
@ 2009-12-11 22:53 Lennart Borgman
  0 siblings, 0 replies; only message in thread
From: Lennart Borgman @ 2009-12-11 22:53 UTC (permalink / raw)
  To: emacs help

When byte compiling a file containing just the code below I get an error

   iss-mumamo.el:58:1:Error: Symbol's function definition is void:
mumamo-chunk-iss-code

I do not understand why. define-mumamo-multi-major-mode is a defmacro
in mumamo.el.

Is there anyone who understand what is wrong?



(require 'iss-mode)
(require 'mumamo)

(defun mumamo-chunk-iss-code (pos min max)
  "Find [code]...[, return range and `pascal-mode'.
See `mumamo-find-possible-chunk' for POS, MIN and MAX."
  (mumamo-quick-static-chunk pos min max "[code]" "{*** End of CODE
**}" nil 'pascal-mode nil))

;;;###autoload
(define-mumamo-multi-major-mode iss-mumamo-mode
  "Turn on multiple major modes Inno Setup .iss files.
The code section will be in `pascal-mode' while the rest will be
in `iss-mode'.

\[code]

... this will be in `pascal-mode'. Note the end mark below!

{*** End of CODE **}
"
    ("Inno ISS Family" iss-mode
     (mumamo-chunk-iss-code
      )))




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-12-11 22:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-11 22:53 Why is mumamo-chunk-iss-code not defined? Lennart Borgman

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.