;ELC ;;; compiled by jimb@geech.gnu.ai.mit.edu on Mon Jul 5 23:27:55 1993 ;;; from file /gd/gnu/emacs/19.0/lisp/lisp-mode.el ;;; emacs version 19.15.16. ;;; bytecomp version FSF 2.10 ;;; optimization is on. ;;; this file uses opcodes which do not exist in Emacs 18. (if (and (boundp 'emacs-version) (or (and (boundp 'epoch::version) epoch::version) (string-lessp emacs-version "19"))) (error "This file was compiled for Emacs 19")) (defvar lisp-mode-syntax-table nil "\ ") (defvar emacs-lisp-mode-syntax-table nil "\ ") (defvar lisp-mode-abbrev-table nil "\ ") (byte-code " \nW\n#\nT\nW1\n#\nTWF\n#\nT4W[\n#\nTI################)&!&&#&#&#\"\"" [emacs-lisp-mode-syntax-table 0 i make-syntax-table 48 modify-syntax-entry "_ " 58 65 91 97 123 128 32 " " 9 10 "> " 12 59 "< " 96 "' " 39 44 46 35 34 "\" " 92 "\\ " 40 "() " 41 ")( " "(] " 93 ")[ " lisp-mode-syntax-table copy-syntax-table 124 "\" " define-abbrev-table lisp-mode-abbrev-table nil defalias lisp-mode-variables #[(lisp-syntax) "\n! !P! !\n! !!!!!!؉" [lisp-syntax set-syntax-table lisp-mode-syntax-table lisp-mode-abbrev-table local-abbrev-table make-local-variable paragraph-start "^$\\|" page-delimiter paragraph-separate paragraph-ignore-fill-prefix t indent-line-function lisp-indent-line indent-region-function lisp-indent-region parse-sexp-ignore-comments comment-start ";" comment-start-skip ";+ *" comment-column 40 comment-indent-function lisp-comment-indent] 2]] 5) (defvar shared-lisp-mode-map nil "\ Keymap for commands shared by all sorts of Lisp modes.") (byte-code " ####" [shared-lisp-mode-map make-sparse-keymap define-key "" indent-sexp "" lisp-fill-paragraph "" backward-delete-char-untabify " " lisp-indent-line] 4) (defvar emacs-lisp-mode-map nil "\ Keymap for Emacs Lisp mode. All commands in shared-lisp-mode-map are inherited by this map.") (byte-code " \n##" [emacs-lisp-mode-map make-sparse-keymap shared-lisp-mode-map define-key " " lisp-complete-symbol "" eval-defun] 4) (defalias 'emacs-lisp-mode #[nil " \n! !!!" [kill-all-local-variables use-local-map emacs-lisp-mode-map set-syntax-table emacs-lisp-mode-syntax-table emacs-lisp-mode major-mode "Emacs-Lisp" mode-name lisp-mode-variables nil run-hooks emacs-lisp-mode-hook] 2 "\ Major mode for editing Lisp code to run in Emacs. Commands: Delete converts tabs to spaces as it moves back. Blank lines separate paragraphs. Semicolons start comments. \\{emacs-lisp-mode-map} Entry to this mode calls the value of `emacs-lisp-mode-hook' if that value is non-nil." nil]) (defvar lisp-mode-map nil "\ Keymap for ordinary Lisp mode. All commands in `shared-lisp-mode-map' are inherited by this map.") (byte-code " \n##" [lisp-mode-map make-sparse-keymap shared-lisp-mode-map define-key "" lisp-send-defun " " run-lisp] 4) (defalias 'lisp-mode #[nil " \n!!\n!!" [kill-all-local-variables use-local-map lisp-mode-map lisp-mode major-mode "Lisp" mode-name lisp-mode-variables t set-syntax-table lisp-mode-syntax-table run-hooks lisp-mode-hook] 2 "\ Major mode for editing Lisp code for Lisps other than GNU Emacs Lisp. Commands: Delete converts tabs to spaces as it moves back. Blank lines separate paragraphs. Semicolons start comments. \\{lisp-mode-map} Note that `run-lisp' may be used either to start an inferior Lisp job or to switch back to an existing one. Entry to this mode calls the value of `lisp-mode-hook' if that value is non-nil." nil]) (defalias 'lisp-send-defun #[nil "!" [error "Process lisp does not exist"] 2 "\ Send the current defun to the Lisp process made by \\[run-lisp]." nil]) (defvar lisp-interaction-mode-map nil "\ Keymap for Lisp Interaction moe. All commands in `shared-lisp-mode-map' are inherited by this map.") (byte-code " \n###" [lisp-interaction-mode-map make-sparse-keymap shared-lisp-mode-map define-key "" eval-defun " " lisp-complete-symbol "\n" eval-print-last-sexp] 4) (defalias 'lisp-interaction-mode #[nil " \n!!!!" [kill-all-local-variables use-local-map lisp-interaction-mode-map lisp-interaction-mode major-mode "Lisp Interaction" mode-name set-syntax-table emacs-lisp-mode-syntax-table lisp-mode-variables nil run-hooks lisp-interaction-mode-hook] 2 "\ Major mode for typing and evaluating Lisp forms. Like Lisp mode except that \\[eval-print-last-sexp] evals the Lisp expression before point, and prints its value into the buffer, advancing point. Commands: Delete converts tabs to spaces as it moves back. Paragraphs are separated only by blank lines. Semicolons start comments. \\{lisp-interaction-mode-map} Entry to this mode calls the value of `lisp-interaction-mode-hook' if that value is non-nil." nil]) (defalias 'eval-print-last-sexp #[nil "p ! )" [standard-output terpri eval-last-sexp t] 2 "\ Evaluate sexp before point; print value into current buffer." nil]) (defalias 'eval-last-sexp #[(eval-last-sexp-arg-internal) "p ` Ȏ\n!!e\n}p!+!)!*" [eval-last-sexp-arg-internal t opoint standard-output prin1 syntax-table stab eval ((set-syntax-table stab)) set-syntax-table emacs-lisp-mode-syntax-table forward-sexp -1 read] 4 "\ Evaluate sexp before point; print value in minibuffer. With argument, print output into current buffer." "P"]) (defalias 'eval-defun #[(eval-defun-arg-internal) "p Ċ p!)!!)" [eval-defun-arg-internal t standard-output prin1 eval end-of-defun beginning-of-defun read] 4 "\ Evaluate defun that point is in or before. Print value in minibuffer. With argument, insert value in current buffer after the defun." "P"]) (defalias (quote lisp-comment-indent) #[nil "!i! < @ )xn*ǂ,iT]" [looking-at "\\s<\\s<\\s<" "\\s<\\s<" calculate-lisp-indent tem " " nil 0 comment-column] 3]) (defconst lisp-indent-offset nil "\ ") (defconst lisp-indent-function (quote lisp-indent-function) "\ ") (defalias 'lisp-indent-line #[(&optional whole-exp) " d`Zy`w!$d\nZb!9!9 uWw`f=0u`f>!!Qi\"ÔÕ{P)\n]!yUl!_!uy`)y!x`)}PP !,*" [nil comment-fill-prefix has-comment 0 looking-at "[ ]*;[; ]*" t ";\\|$" "^;\n\"\\\\?" 92 2 (34 63) forward-sexp 1 ";+[ ]*" make-string 32 fill-paragraph justify -1 "^[ ]*;" paragraph-start "\\|^[ ;]*$" fill-prefix paragraph-separate] 3 "\ Like \\[fill-paragraph], but handle Emacs Lisp comments. If any of the current line is a comment, fill the comment or the paragraph of it that point is in, preserving the comment's indentation and initial semicolons." "P"]) (defalias 'indent-code-rigidly #[(start end arg &optional nochange-regexp) "\nb  bn`y` %`\nW^ @P4!P  `w`|lO \\]\")`y` %*" [nil state end point-marker start parse-partial-sexp 1 3 nochange-regexp looking-at current-indentation indent " " indent-to 0 arg] 6 "\ Indent all lines of code, starting in the region, sideways by ARG columns. Does not affect lines starting inside comments or strings, assuming that the start of the region is not inside them. Called from a program, takes args START, END, COLUMNS and NOCHANGE-REGEXP. The last is a regexp which, if matched at the beginning of a line, means don't indent that line." "r\np"]) (provide (quote lisp-mode))