Mercurial > hg > xemacs-beta
diff lisp/prim/novice.el @ 163:0132846995bd r20-3b8
Import from CVS: tag r20-3b8
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:43:35 +0200 |
parents | b9518feda344 |
children | f53b5ca2e663 |
line wrap: on
line diff
--- a/lisp/prim/novice.el Mon Aug 13 09:42:28 2007 +0200 +++ b/lisp/prim/novice.el Mon Aug 13 09:43:35 2007 +0200 @@ -123,13 +123,13 @@ ;;;###autoload (defun enable-command (command) "Allow COMMAND to be executed without special confirmation from now on. -The user's .emacs file is altered so that this will apply +The user's `custom-file' is altered so that this will apply to future sessions." (interactive "CEnable command: ") (put command 'disabled nil) (save-excursion (set-buffer (find-file-noselect - (substitute-in-file-name user-init-file))) + (substitute-in-file-name custom-file))) (goto-char (point-min)) (if (search-forward (concat "(put '" (symbol-name command) " ") nil t) (delete-region