]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/loadup.el ("cus-start"): Load it after loaddefs.el
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 13 Apr 2015 22:21:00 +0000 (18:21 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 13 Apr 2015 22:21:00 +0000 (18:21 -0400)
Fixes: debbugs:20321
* lisp/cus-start.el (read-buffer-function): Don't advertize
iswitchb-read-buffer any more.
(iswitchb): Don't tweak this obsolete group any more.

lisp/cus-start.el
lisp/loadup.el

index b96b81763ce1beadb59930f298d4f49720b85dc7..05135b80e8e981f246af589d3459f16e2aa17878 100644 (file)
@@ -379,7 +379,6 @@ Leaving \"Default\" unchecked is equivalent with specifying a default of
             ;; options property set at end
             (read-buffer-function minibuffer
                                   (choice (const nil)
-                                          (function-item iswitchb-read-buffer)
                                           function))
             ;; msdos.c
             (dos-unsupported-char-glyph display integer)
@@ -654,7 +653,6 @@ since it could result in memory overflow and make Emacs crash."
                ((eq prop :tag)
                 (put symbol 'custom-tag propval))))))))
 
-(custom-add-to-group 'iswitchb 'read-buffer-function 'custom-variable)
 (custom-add-to-group 'font-lock 'open-paren-in-column-0-is-defun-start
                     'custom-variable)
 
index 003b0db4abd9a050a0c84689161fd37e38c98ad6..51339253dddd06d4d6c12c36929784ca8438a30b 100644 (file)
 (load "bindings")
 ;; This sets temporary-file-directory, used by eg
 ;; auto-save-file-name-transforms in files.el.
-(load "cus-start")
 (load "window")  ; Needed here for `replace-buffer-in-windows'.
 (setq load-source-file-function 'load-with-code-conversion)
 (load "files")
   ;; In case loaddefs hasn't been generated yet.
   (file-error (load "ldefs-boot.el")))
 
+(load "cus-start")                    ;After loaddefs to autoload pcase-dolist.
 (load "emacs-lisp/nadvice")
 (load "emacs-lisp/cl-preloaded")
 (load "minibuffer")            ;After loaddefs, for define-minor-mode.