Debugger entered--Lisp error: (wrong-type-argument stringp nil)
normalize-menu-item-name(nil)
easy-menu-remove(("Fld" ["Enter Fold" folding-shift-in t] ["Exit Fold" foldin$ folding-mode(-1)
turn-off-folding-mode()
folding-uninstall-hooks()
folding-keep-hooked()
#<compiled-function (&optional arg inter) "...(170)" [selective-display new-f$ call-interactively(folding-mode)
command-execute(folding-mode t)
execute-extended-command(nil)
call-interactively(execute-extended-command)
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
normalize-menu-item-name(nil)
easy-menu-remove(("Fld" ["Enter Fold" folding-shift-in t] ["Exit Fold" folding-shift-out t] ["Show Fold" folding-show-current-entry t] ["Hide Fold" folding-hide-current-entry t] "----" ["Show Whole Buffer" folding-open-buffer t] ["Fold Whole Buffer" folding-whole-buffer t] ["Show subtree" folding-show-current-subtree t] ["Hide subtree" folding-hide-current-subtree t] ["Display fold name" folding-display-name t] "----" ["Move previous" folding-previous-visible-heading t] ["Move next" folding-next-visible-heading t] ["Pick fold" folding-pick-move t] ["Next action (context)" folding-context-next-action t] "----" ["Foldify region" folding-fold-region t] ["Open or close folds in region" folding-region-open-close t] ["Open folds to top level" folding-show-all t] "----" ["Comment text in fold" folding-comment-fold t] ["Convert for printing(temp buffer)" folding-convert-buffer-for-printing t] ["Convert to major-mode folds" folding-convert-to-major-folds t] ["Move comments inside folds in region" folding-all-comment-blocks-in-region t] ["Delete fold marks in this fold" folding-marks-kill t] ["Insert folding URL reference" folding-insert-advertise-folding-mode t] "----" ["Toggle enter and exit mode" folding-toggle-enter-exit t] ["Toggle show and hide" folding-toggle-show-hide t] "----" ["Folding mode off" folding-mode t]))
(if folding-mode (easy-menu-add folding-mode-menu) (easy-menu-remove folding-mode-menu))
(let ((new-folding-mode ...)) (or (eq new-folding-mode folding-mode) (if folding-mode ... ... ... ... ... ... ... ... ... ... ... ...)) (setq folding-mode new-folding-mode) (if folding-mode (easy-menu-add folding-mode-menu) (easy-menu-remove folding-mode-menu)))
folding-mode(-1)
turn-off-folding-mode()
folding-uninstall-hooks()
(if (folding-is-hooked) nil (folding-uninstall-hooks) (folding-install-hooks))
(unless (folding-is-hooked) (folding-uninstall-hooks) (folding-install-hooks))
folding-keep-hooked()
(if folding-mode (progn (if ... ...) (folding-clear-stack) (folding-narrow-to-region nil nil) (folding-subst-regions ... ?\r ?\n) (setq mode-line-format ...)) (cond (... ... ...) (t ... ...)) (unless (assq ... minor-mode-alist) (folding-install)) (folding-keep-hooked) (widen) (setq folding-narrow-overlays nil) (folding-set-local-variables) (folding-font-lock-support) (unwind-protect (let ... ... ...) (folding-set-mode-line)) (and folding-folding-on-startup (if ... ... ...)) (folding-narrow-to-region nil nil t) (setq mode-line-format (mapcar ... mode-line-format)))
(or (eq new-folding-mode folding-mode) (if folding-mode (progn ... ... ... ... ...) (cond ... ...) (unless ... ...) (folding-keep-hooked) (widen) (setq folding-narrow-overlays nil) (folding-set-local-variables) (folding-font-lock-support) (unwind-protect ... ...) (and folding-folding-on-startup ...) (folding-narrow-to-region nil nil t) (setq mode-line-format ...)))
(let ((new-folding-mode ...)) (or (eq new-folding-mode folding-mode) (if folding-mode ... ... ... ... ... ... ... ... ... ... ... ...)) (setq folding-mode new-folding-mode) (if folding-mode (easy-menu-add folding-mode-menu) (easy-menu-remove folding-mode-menu)))
(lambda (&optional arg inter) "A folding-editor-like minor mode. ARG INTER.\n\nThese are the basic commands that Folding mode provides:\n\n\\{folding-mode-map}\n\nKeys starting with `folding-mode-prefix-key'\n\n\\{folding-mode-prefix-map}\n\n folding-convert-buffer-for-printing:\n `\\[folding-convert-buffer-for-printing]'\n Makes a ready-to-print, formatted, unfolded copy in another buffer.\n\n Read the documentation for the above functions for more information.\n\nOverview\n\n Folds are a way of hierarchically organizing the text in a file, so\n that the text can be viewed and edited at different levels. It is\n similar to Outline mode in that parts of the text can be hidden from\n view. A fold is a region of text, surrounded by special \"fold marks\",\n which act like brackets, grouping the text. Fold mark pairs can be\n nested, and they can have titles. When a fold is folded, the text is\n hidden from view, except for the first line, which acts like a title\n for the fold.\n\n Folding mode is a minor mode, designed to cooperate with many other\n major modes, so that many types of text can be folded while they are\n being edited (eg., plain text, program source code, Texinfo, etc.).\n\nFolding-mode function\n\n If Folding mode is not called interactively (`(interactive-p)' is nil),\n and it is called with two or less arguments, all of which are nil, then\n the point will not be altered if `folding-folding-on-startup' is set\n and `folding-whole-buffer' is called. This is generally not a good\n thing, as it can leave the point inside a hidden region of a fold, but\n it is required if the local variables set \"mode: folding\" when the\n file is first read (see `hack-local-variables').\n\n Not that you should ever want to, but to call Folding mode from a\n program with the default behavior (toggli$
call-interactively(folding-mode)
command-execute(folding-mode t)
execute-extended-command(nil)
call-interactively(execute-extended-command)