Current File : //proc/self/root/kunden/usr/share/emacs/27.2/lisp/cedet/srecode/insert.elc |
;ELC
;;; Compiled
;;; in Emacs version 27.2
;;; with all optimizations.
;;; This file uses dynamic docstrings, first added in Emacs 19.29.
;;; This file does not contain utf-8 non-ASCII characters,
;;; and so can be loaded in Emacs versions earlier than 23.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(byte-code "\300\301!\210\300\302!\210\300\303!\210\300\304!\210\300\305!\210\306\307\310\311\312DD\313\314\315\316\317&\207" [require srecode/compile srecode/find srecode/dictionary srecode/args srecode/filters custom-declare-variable srecode-insert-ask-variable-method funcall function #[0 "\300\207" [ask] 1] "Determine how to ask for a dictionary value when inserting a template.\nOnly the ASK style inserter will query the user for a value.\nDictionary value references that ask begin with the ? character.\nPossible values are:\n `ask' - Prompt in the minibuffer as the value is inserted.\n `field' - Use the dictionary macro name as the inserted value,\n and place a field there. Matched fields change together." :group srecode :type (choice (const :tag "Ask" ask) (const :tag "Field" field))] 8)
#@70 Non-nil means that we are actively inserting a template with fields.
(defvar srecode-insert-with-fields-in-progress nil (#$ . 1229))
#@75 The context that was at point at the beginning of the template insertion.
(defvar srecode-insertion-start-context nil (#$ . 1368))
#@58 Insert the previously inserted template (by name) again.
(defalias 'srecode-insert-again #[0 "@\211\203\f \301!\202 \302\301!\207" [srecode-read-template-name-history srecode-insert call-interactively] 3 (#$ . 1505) nil])
#@162 Insert the template TEMPLATE-NAME into the current buffer at point.
DICT-ENTRIES are additional dictionary values to add.
(fn TEMPLATE-NAME &rest DICT-ENTRIES)
(defalias 'srecode-insert #[385 "\302 \204\n \303\304\"\210\305 \306\302 \"\307 \211\204 \303\310\"\210\2032 \311@A@#\210AA\262\202 \312\")\207" [major-mode srecode-insertion-start-context srecode-table error "No template table found for mode %s" srecode-create-dictionary srecode-template-get-table srecode-calculate-context "No Template named %s" srecode-dictionary-set-value srecode-insert-fcn] 8 (#$ . 1737) (byte-code "\300\301!C\207" [srecode-read-template-name "Template Name: "] 2)])
#@259 Insert TEMPLATE using DICTIONARY into STREAM.
Optional SKIPRESOLVER means to avoid refreshing the tag list,
or resolving any template arguments. It is assumed the caller
has set everything up already.
(fn TEMPLATE DICTIONARY &optional STREAM SKIPRESOLVER)
(defalias 'srecode-insert-fcn #[1026 "\206 p\304\305\306\"\203 \307\310\306\"\"\210\204'