# HG changeset patch # User Richard M. Stallman # Date 757830563 0 # Node ID 165b0bf0e87953923932ee07ca484629c44e5151 # Parent 9c57cdb2091eb24144e7043095c78bd74ab08e61 (enable-command, disable-command): Use user-init-file. diff -r 9c57cdb2091e -r 165b0bf0e879 lisp/novice.el --- a/lisp/novice.el Thu Jan 06 04:28:36 1994 +0000 +++ b/lisp/novice.el Thu Jan 06 04:29:23 1994 +0000 @@ -90,7 +90,8 @@ (interactive "CEnable command: ") (put command 'disabled nil) (save-excursion - (set-buffer (find-file-noselect (substitute-in-file-name "~/.emacs"))) + (set-buffer (find-file-noselect + (substitute-in-file-name user-init-file))) (goto-char (point-min)) (if (search-forward (concat "(put '" (symbol-name command) " ") nil t) (delete-region @@ -109,7 +110,8 @@ (interactive "CDisable command: ") (put command 'disabled t) (save-excursion - (set-buffer (find-file-noselect (substitute-in-file-name "~/.emacs"))) + (set-buffer (find-file-noselect + (substitute-in-file-name user-init-file))) (goto-char (point-min)) (if (search-forward (concat "(put '" (symbol-name command) " ") nil t) (delete-region