Variable: prolog-menu-help
prolog-menu-help is a variable defined in prolog.el.gz.
Value
<nil> nil
Documentation
Help menu for the Prolog mode.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/prolog.el.gz
;;(defun prolog-regexp-dash-continuous-chars (chars)
;; (let ((ints (mapcar #'prolog-char-to-int (string-to-list chars)))
;; (beg 0)
;; (end 0))
;; (if (null ints)
;; chars
;; (while (and (< (+ beg 1) (length chars))
;; (not (or (= (+ (nth beg ints) 1) (nth (+ beg 1) ints))
;; (= (nth beg ints) (nth (+ beg 1) ints)))))
;; (setq beg (+ beg 1)))
;; (setq beg (+ beg 1)
;; end beg)
;; (while (and (< (+ end 1) (length chars))
;; (or (= (+ (nth end ints) 1) (nth (+ end 1) ints))
;; (= (nth end ints) (nth (+ end 1) ints))))
;; (setq end (+ end 1)))
;; (if (equal (substring chars end) "")
;; (substring chars 0 beg)
;; (concat (substring chars 0 beg) "-"
;; (prolog-regexp-dash-continuous-chars (substring chars end))))
;; )))
;;(defun prolog-condense-character-sets (regexp)
;; "Condense adjacent characters in character sets of REGEXP."
;; (let ((next -1))
;; (while (setq next (string-match "\\[\\(.*?\\)\\]" regexp (1+ next)))
;; (setq regexp (replace-match (prolog-dash-letters (match-string 1 regexp))
;; t t regexp 1))))
;; regexp)
;;-------------------------------------------------------------------
;; Menu stuff (both for the editing buffer and for the inferior
;; prolog buffer)
;;-------------------------------------------------------------------
;; GNU Emacs ignores `easy-menu-add' so the order in which the menus
;; are defined _is_ important!
(easy-menu-define
prolog-menu-help (list prolog-mode-map prolog-inferior-mode-map)
"Help menu for the Prolog mode."
;; FIXME: Does it really deserve a whole menu to itself?
`("Prolog-help"
["On predicate" prolog-help-on-predicate prolog-help-function-i]
["Apropos" prolog-help-apropos (eq prolog-system 'swi)]
"---"
["Describe mode" describe-mode t]))