;ELC   
;;; Compiled by rms@psilocin.gnu.ai.mit.edu on Mon Jun 23 15:03:18 1997
;;; from file /home/fsf/rms/e19/lisp/novice.el
;;; in Emacs version 19.34.94.37
;;; with bytecomp version 2.29
;;; with all optimizations.
;;; This file uses opcodes which do not exist in Emacs 18.

(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 (#$ . 541))
(defalias 'disabled-command-hook #[(&rest ignore) "ÀÂ‹ˆ	ÃUƒ À	ÅUƒ4 ƒ- Ç˜„- ÈÉ!ƒ- Ê!ˆ‚4 ÌÍÀ#ˆ	ÎU?…? Ï!)‡" [nil char ((byte-code "ÀÁ ‰ÃH\n;ƒ ÄÃH‚ Å=„0 \nGÆYƒ7 \nÃH=ƒ7 \nÈHÉ=ƒ7 ÊË!ˆ‚E ÊÌ!ˆÊÍ\n!!ˆÊÎ!ˆ)Ê!ˆÊÐ!ˆÑN;ƒ^ ÊÑN!ˆŠÀqˆdbˆŠÊÒÓÔ†o Õ!ˆ)Ö×ÒØ#ƒ‚ `Sd|ˆ‚… dbˆ)Ê×!ˆÊÙ!ˆŠqˆÛ )‘ˆÜÝ!ˆØß —‰ á>„´ â ˆÜã!ˆ‚Ÿ )Ò‡" ["*Help*" this-command-keys keys 0 "ø" -134217608 2 meta-prefix-char 1 120 princ "You have invoked the disabled command " "You have typed " key-description ", invoking disabled command " this-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)." standard-output help-mode message "Type y, n, ! or Space: " cursor-in-echo-area read-char char (33 32 121 110) ding "Please type y, n, ! or Space: "] 6)) 33 disabled-command-hook 121 user-init-file "" y-or-n-p "Enable command for future editing sessions also? " enable-command this-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) "À	ÂÃ#ˆŠÄÅ!!qˆebˆÇÈÉ	!ÊQÃË#ƒ) Ìyˆ`Íyˆ`|ˆdbˆÎÉ	!Ï±ˆÐ )‡" [put command disabled nil find-file-noselect substitute-in-file-name user-init-file search-forward "(put '" symbol-name " " t 0 1 "\n(put '" " 'disabled nil)\n" save-buffer] 4 (#$ . 1942) "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) "À	!„ ÂÃ	\"ˆÄ	ÅÆ#ˆŠÇÈ	!!qˆebˆÊËÌ	!ÍQÎÆ#ƒ4 Ïyˆ`Ðyˆ`|ˆdbˆÑÌ	!Ò±ˆÓ )‡" [commandp command error "Invalid command name `%s'" put disabled t find-file-noselect substitute-in-file-name user-init-file search-forward "(put '" symbol-name " " nil 0 1 "\n(put '" " 'disabled t)\n" save-buffer] 4 (#$ . 2405) "CDisable command: "])
(provide 'novice)
