;ELC   
;;; Compiled by pot@pot.cnuce.cnr.it on Tue Mar 18 15:48:58 2003
;;; from file /home/pot/gnu/emacs-pretest.new/lisp/novice.el
;;; in Emacs version 21.3
;;; with bytecomp version 2.85.4.1
;;; with all optimizations.

;;; This file uses dynamic docstrings, first added in Emacs 19.29.
(if (and (boundp 'emacs-version)
	 (< (aref emacs-version (1- (length emacs-version))) ?A)
	 (or (and (boundp 'epoch::version) epoch::version)
	     (string-lessp emacs-version "19.29")))
    (error "`novice.el' was compiled for Emacs 19.29 or later"))

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


#@114 Function to call to handle disabled commands.
If nil, the feature is disabled, i.e., all commands work normally.
(defvar disabled-command-hook 'disabled-command-hook (#$ . 615))
(defalias 'disabled-command-hook #[(&rest ignore) "\304\305\213\210\306U\203 \304\307U\2030 \n\203* \n\310\230\204* \311\312!\203* \313!\210\2020 \314\315\304#\210\316U?\205: \317!)\207" [char disabled-command-hook user-init-file this-command nil ((byte-code "\306\220\307 \211\310H;\203 \311\310H\202 \312=\204/ G\313Y\2036 \310H	=\2036 \314H\315=\2036 \316\317!\210\202D \316\320!\210\316\321!!\210\316\322!\210)\316\n!\210\316\323!\210\n\324N;\203Z \316\n\324N!\210\212\306q\210db\210\212\316\325\326\327\217\206k \330!\210)\331\332\325\333#\203~ `Sd|\210\202\201 db\210)\316\332!\210\316\334!\210\212q\210\335 )\221\210\336\337!\210\333\340 \227\211\341>\204\255 \342 \210\336\343!\210\202\231 )\325\207" [keys meta-prefix-char this-command standard-output cursor-in-echo-area char "*Help*" this-command-keys 0 "\370" -134217608 2 1 120 princ "You have invoked the disabled command " "You have typed " key-description ", invoking disabled command " ":\n" disabled nil (documentation this-command) ((error)) "<< not documented >>" search-forward "\n\n" t "You can now type\nSpace to try the command just this once, but leave it disabled,\nY to try it and enable it (no questions if you use it again),\n! to try it and enable all commands in this session, or\nN to do nothing (command remains disabled)." help-mode message "Type y, n, ! or Space: " read-char (33 32 121 110) ding "Please type y, n, ! or Space: "] 6)) 33 121 "" y-or-n-p "Enable command for future editing sessions also? " enable-command put disabled 110 call-interactively] 4])
#@150 Allow COMMAND to be executed without special confirmation from now on.
The user's .emacs file is altered so that this will apply
to future sessions.
(defalias 'enable-command #[(command) "\305\306\307#\210	\n\310=\203 \311\202 \312\211\204D \313!\204* \n\314=\203. \313\311!\203. \315\316!\210\313\f!\204D \n\314=\203D \313\311!\203D \311\212\317\320\f!!q\210eb\210\321\322\323!\324Q\307\325#\203f \326 \210`\327y\210`|\210db\210\330\323!\331\261\210\332 +\207" [command user-init-file system-type default-init-file init-file put disabled nil ms-dos "~/_emacs" "~/.emacs" file-exists-p windows-nt error "Saving settings from \"emacs -q\" would overwrite existing customizations" find-file-noselect substitute-in-file-name search-forward "(put '" symbol-name " " t beginning-of-line 1 "\n(put '" " 'disabled nil)\n" save-buffer] 5 (#$ . 2367) "CEnable command: "])
#@140 Require special confirmation to execute COMMAND from now on.
The user's .emacs file is altered so that this will apply
to future sessions.
(defalias 'disable-command #[(command) "\305!\204 \306\307\"\210\310\311\312#\210	\n\313=\203 \314\202 \315\211\204O \316!\2045 \n\317=\2039 \316\314!\2039 \306\320!\210\316\f!\204O \n\317=\203O \316\314!\203O \314\212\321\322\f!!q\210eb\210\323\324\325!\326Q\327\312#\203q \330 \210`\331y\210`|\210db\210\332\325!\333\261\210\334 +\207" [command user-init-file system-type default-init-file init-file commandp error "Invalid command name `%s'" put disabled t ms-dos "~/_emacs" "~/.emacs" file-exists-p windows-nt "Saving settings from \"emacs -q\" would overwrite existing customizations" find-file-noselect substitute-in-file-name search-forward "(put '" symbol-name " " nil beginning-of-line 1 "\n(put '" " 'disabled t)\n" save-buffer] 5 (#$ . 3250) "CDisable command: "])
(provide 'novice)
