[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/smalltalk-mode 90f07e6 32/34: Move smalltalk-mode autol
From: |
Stefan Monnier |
Subject: |
[elpa] externals/smalltalk-mode 90f07e6 32/34: Move smalltalk-mode autoloads to smalltalk-mode |
Date: |
Tue, 9 Apr 2019 22:30:48 -0400 (EDT) |
branch: externals/smalltalk-mode
commit 90f07e67240d927097000e53b492fc94704e902b
Author: Wilfred Hughes <address@hidden>
Commit: Holger Hans Peter Freyther <address@hidden>
Move smalltalk-mode autoloads to smalltalk-mode
This makes smalltalk-mode.el self-contained and useful as a standalone
file.
---
smalltalk-mode-init.el.in | 3 ---
smalltalk-mode.el | 4 ++++
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/smalltalk-mode-init.el.in b/smalltalk-mode-init.el.in
index 0fc6321..a2dbef9 100644
--- a/smalltalk-mode-init.el.in
+++ b/smalltalk-mode-init.el.in
@@ -11,12 +11,9 @@
(throw 'archive-mode (cdr mode-assoc))))))
auto-mode-alist)
-(push '("\\.st\\'" . smalltalk-mode) auto-mode-alist)
-
(if (boundp 'inhibit-local-variables-regexps)
(push "\\.star\\'" inhibit-local-variables-regexps)
(push "\\.star\\'" inhibit-first-line-modes-regexp))
-(autoload 'smalltalk-mode "@lispdir@/smalltalk-mode.elc" "" t)
@WITH_EMACS_COMINT_TRUE@(autoload 'gst "@lispdir@/gst-mode.elc" "" t)
diff --git a/smalltalk-mode.el b/smalltalk-mode.el
index c44c7a1..d8a1d02 100644
--- a/smalltalk-mode.el
+++ b/smalltalk-mode.el
@@ -179,6 +179,7 @@
;; ---[ Interactive functions ]---------------------------------------
+;;;###autoload
(defun smalltalk-mode ()
"Major mode for editing Smalltalk code.
@@ -227,6 +228,9 @@ Commands:
;; Run hooks, must be last
(run-hooks 'smalltalk-mode-hook))
+;;;###autoload
+(add-to-list 'auto-mode-alist '("\\.st\\'" . smalltalk-mode))
+
(defun smalltalk-tab ()
(interactive)
(let (col)
- [elpa] externals/smalltalk-mode a7e8c36 14/34: fix smalltalk-scope-begin-of-defun, (continued)
- [elpa] externals/smalltalk-mode a7e8c36 14/34: fix smalltalk-scope-begin-of-defun, Stefan Monnier, 2019/04/09
- [elpa] externals/smalltalk-mode 0448eaa 08/34: merge from stephen, Stefan Monnier, 2019/04/09
- [elpa] externals/smalltalk-mode 320dcae 15/34: fix indent and smalltalk-at-begin-of-{defun|scope}, Stefan Monnier, 2019/04/09
- [elpa] externals/smalltalk-mode fb9072e 04/34: add gst-prog-name, patch from Stephen Compall, Stefan Monnier, 2019/04/09
- [elpa] externals/smalltalk-mode c8ce0e0 16/34: disable generational GC on sparc, Stefan Monnier, 2019/04/09
- [elpa] externals/smalltalk-mode 4a29da5 31/34: Highlight ^ as a keyword, Stefan Monnier, 2019/04/09
- [elpa] externals/smalltalk-mode 27c9a1a 09/34: update copyright from 2.3.6 release, Stefan Monnier, 2019/04/09
- [elpa] externals/smalltalk-mode c95682c 24/34: correct defun* -> defun patch, Stefan Monnier, 2019/04/09
- [elpa] externals/smalltalk-mode 57c7cfa 20/34: fix smalltalk-mode.el to work in emacs 22, Stefan Monnier, 2019/04/09
- [elpa] externals/smalltalk-mode 4160554 12/34: simplify installation of Emacs modes, Stefan Monnier, 2019/04/09
- [elpa] externals/smalltalk-mode 90f07e6 32/34: Move smalltalk-mode autoloads to smalltalk-mode,
Stefan Monnier <=
- [elpa] externals/smalltalk-mode 453b7f5 34/34: smalltalk-mode: Fix version and author in header, Stefan Monnier, 2019/04/09
- [elpa] externals/smalltalk-mode d7f4421 28/34: emacs: Fix the smalltalk-mode mode for emacs 24.2 and later, Stefan Monnier, 2019/04/09
- [elpa] externals/smalltalk-mode 7706ca9 22/34: merge smalltalk-mode bugfixes and tags support, Stefan Monnier, 2019/04/09
- [elpa] externals/smalltalk-mode 83e5fa6 03/34: more updates to the FSF address, Stefan Monnier, 2019/04/09
- [elpa] externals/smalltalk-mode 81dda06 10/34: fix Emacs mode glitches reported by Jeronimo Pellegrini, Stefan Monnier, 2019/04/09
- [elpa] externals/smalltalk-mode f5a8ddb 13/34: update copyright notices for 2009, Stefan Monnier, 2019/04/09
- [elpa] externals/smalltalk-mode 12cf1d9 19/34: more smalltalk mode improvements from Mathieu, Stefan Monnier, 2019/04/09
- [elpa] externals/smalltalk-mode aaa7cb0 17/34: improve smalltalk.el detection of a new method's indent, Stefan Monnier, 2019/04/09
- [elpa] externals/smalltalk-mode a5a661a 30/34: Silence byte-compiler warnings, Stefan Monnier, 2019/04/09
- [elpa] externals/smalltalk-mode f5845a2 06/34: Emacs interactor mode refinements, Stefan Monnier, 2019/04/09