aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2013-05-02 13:47:39 -0400
committerGlenn Morris2013-05-02 13:47:39 -0400
commitf12ad6ecd954a8b167796e6f5a9aa11539d63b95 (patch)
tree8ae12554a856918dae012dd55a904f42dc5838d3
parent30cac1e0e41260293b7900f67422f8833aaba63f (diff)
downloademacs-f12ad6ecd954a8b167796e6f5a9aa11539d63b95.tar.gz
emacs-f12ad6ecd954a8b167796e6f5a9aa11539d63b95.zip
* lisp/vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
* lisp/desktop.el (vc-dir-mode): Just autoload it here.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/desktop.el3
-rw-r--r--lisp/vc/vc-dir.el2
3 files changed, 8 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index fd42c57c5c9..5adfea1d07a 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12013-05-02 Glenn Morris <rgm@gnu.org>
2
3 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
4 * desktop.el (vc-dir-mode): Just autoload it here.
5
12013-05-02 Alan Mackenzie <acm@muc.de> 62013-05-02 Alan Mackenzie <acm@muc.de>
2 7
3 Eliminate variable c-standard-font-lock-fontify-region-function. 8 Eliminate variable c-standard-font-lock-fontify-region-function.
diff --git a/lisp/desktop.el b/lisp/desktop.el
index e9a839c4cf7..8e66a9b81a3 100644
--- a/lisp/desktop.el
+++ b/lisp/desktop.el
@@ -1374,6 +1374,9 @@ If there are no buffers left to create, kill the timer."
1374 (desktop-auto-save-set-timer) 1374 (desktop-auto-save-set-timer)
1375 (setq inhibit-startup-screen t)))) 1375 (setq inhibit-startup-screen t))))
1376 1376
1377;; So we can restore vc-dir buffers.
1378(autoload 'vc-dir-mode "vc-dir" nil t)
1379
1377(provide 'desktop) 1380(provide 'desktop)
1378 1381
1379;;; desktop.el ends here 1382;;; desktop.el ends here
diff --git a/lisp/vc/vc-dir.el b/lisp/vc/vc-dir.el
index d10e3934680..1fdd2018946 100644
--- a/lisp/vc/vc-dir.el
+++ b/lisp/vc/vc-dir.el
@@ -930,8 +930,6 @@ If it is a file, return the corresponding cons for the file itself."
930 930
931(defvar use-vc-backend) ;; dynamically bound 931(defvar use-vc-backend) ;; dynamically bound
932 932
933;; Autoload cookie needed by desktop.el.
934;;;###autoload
935(define-derived-mode vc-dir-mode special-mode "VC dir" 933(define-derived-mode vc-dir-mode special-mode "VC dir"
936 "Major mode for VC directory buffers. 934 "Major mode for VC directory buffers.
937Marking/Unmarking key bindings and actions: 935Marking/Unmarking key bindings and actions: