Fix autoload of flymake from elisp-mode during bootstrap (bug#28994)

* lisp/loadup.el: add `progmodes` to load-path so we can find flymake.el.
* lisp/kmacro.el: Require `replace` since we use query-replace-map.
* lisp/replace.el: Require `text-mode` since we use text-mode-map.
This commit is contained in:
Stefan Monnier 2017-10-25 12:31:40 -04:00
parent aee0bc8775
commit 57ca409111
3 changed files with 3 additions and 0 deletions

View file

@ -111,6 +111,7 @@
;;; Code:
;; Customization:
(require 'replace)
(defgroup kmacro nil
"Simplified keyboard macro user interface."

View file

@ -76,6 +76,7 @@
(setq max-lisp-eval-depth 2200)
(setq load-path (list (expand-file-name "." dir)
(expand-file-name "emacs-lisp" dir)
(expand-file-name "progmodes" dir)
(expand-file-name "language" dir)
(expand-file-name "international" dir)
(expand-file-name "textmodes" dir)

View file

@ -28,6 +28,7 @@
;;; Code:
(require 'text-mode)
(eval-when-compile (require 'cl-lib))
(defcustom case-replace t