[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/jade-mode 41351ec293 027/128: Add autoload declarations, e
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/jade-mode 41351ec293 027/128: Add autoload declarations, explicit requires and ELPA package dependencies. |
Date: |
Sat, 29 Jan 2022 08:24:43 -0500 (EST) |
branch: elpa/jade-mode
commit 41351ec293c8baa62f2bbe8513fd69a35741d434
Author: Steve Purcell <steve@sanityinc.com>
Commit: Steve Purcell <steve@sanityinc.com>
Add autoload declarations, explicit requires and ELPA package dependencies.
---
jade-mode.el | 13 ++++++++++---
stylus-mode.el | 14 ++++++++++----
sws-mode.el | 5 ++++-
3 files changed, 24 insertions(+), 8 deletions(-)
diff --git a/jade-mode.el b/jade-mode.el
index 0d02cda65a..18af5515f5 100644
--- a/jade-mode.el
+++ b/jade-mode.el
@@ -1,9 +1,12 @@
-;;; jade-mode.el --- emacs major mode for editing .jade files
+;;; jade-mode.el --- Major mode for editing .jade files
+;;;
;;; URL: https://github.com/brianc/jade-mode
;;; Author: Brian M. Carlson and other contributors
+;;; Package-Requires: ((sws-mode "0"))
+;;;
;;; copied from http://xahlee.org/emacs/elisp_syntax_coloring.html
-;;; jade-mode.el ends here
(require 'font-lock)
+(require 'sws-mode)
(defun jade-debug (string &rest args)
"Prints a debug message"
@@ -44,6 +47,7 @@
;;(define-key jade-mode-map [S-tab] 'jade-unindent-line)
;; mode declaration
+;;;###autoload
(define-derived-mode jade-mode sws-mode
"Jade"
"Major mode for editing jade node.js templates"
@@ -68,6 +72,9 @@
;; highlight syntax
(setq font-lock-defaults '(jade-font-lock-keywords)))
-(provide 'jade-mode)
+;;;###autoload
(add-to-list 'auto-mode-alist '("\\.jade$" . jade-mode))
+
+(provide 'jade-mode)
+;;; jade-mode.el ends here
diff --git a/stylus-mode.el b/stylus-mode.el
index 452633c4fb..857b4b786a 100644
--- a/stylus-mode.el
+++ b/stylus-mode.el
@@ -1,9 +1,12 @@
-;;; stylus-mode.el --- emacs major mode for editing .jade files
+;;; stylus-mode.el --- Major mode for editing .jade files
+;;;
;;; URL: https://github.com/brianc/jade-mode
;;; Author: Brian M. Carlson and other contributors
+;;; Package-Requires: ((sws-mode "0"))
+;;;
;;; copied from http://xahlee.org/emacs/elisp_syntax_coloring.html
-;;; stylus-mode.el ends here
(require 'font-lock)
+(require 'sws-mode)
(defun stylus-debug (string &rest args)
"Prints a debug message"
@@ -65,6 +68,7 @@
;;(define-key stylus-mode-map [S-tab] 'stylus-unindent-line)
;; mode declaration
+;;;###autoload
(define-derived-mode stylus-mode sws-mode
"Stylus"
"Major mode for editing stylus node.js templates"
@@ -89,6 +93,8 @@
;; highlight syntax
(setq font-lock-defaults '(stylus-font-lock-keywords)))
-(provide 'stylus-mode)
-
+;;;###autoload
(add-to-list 'auto-mode-alist '("\\.styl$" . stylus-mode))
+
+(provide 'stylus-mode)
+;;; stylus-mode.el ends here
diff --git a/sws-mode.el b/sws-mode.el
index 9e8f1076bd..51dbcd137e 100644
--- a/sws-mode.el
+++ b/sws-mode.el
@@ -1,7 +1,8 @@
;;; sws-mode.el --- (S)ignificant (W)hite(S)pace mode
+;;;
;;; URL: https://github.com/brianc/jade-mode
;;; Author: Brian M. Carlson and other contributors
-;;; sws-mode.el ends here
+;;;
(require 'font-lock)
(defvar sws-tab-width 2)
@@ -114,6 +115,7 @@
(define-key sws-mode-map [S-tab] 'sws-dendent-line)
(define-key sws-mode-map [backtab] 'sws-dendent-line)
+;;;###autoload
(define-derived-mode sws-mode fundamental-mode
"sws"
"Major mode for editing significant whitespace files"
@@ -135,3 +137,4 @@
(setq major-mode 'sws-mode))
(provide 'sws-mode)
+;;; sws-mode.el ends here
- [nongnu] elpa/jade-mode 210825fd5e 032/128: Change class facename to font-lock-type-face., (continued)
- [nongnu] elpa/jade-mode 210825fd5e 032/128: Change class facename to font-lock-type-face., ELPA Syncer, 2022/01/29
- [nongnu] elpa/jade-mode 7ff3a4cb0a 035/128: Use local variables settings already in the sws-mode., ELPA Syncer, 2022/01/29
- [nongnu] elpa/jade-mode 0a9ddef0eb 090/128: tweak example.jade so it'll actually render, ELPA Syncer, 2022/01/29
- [nongnu] elpa/jade-mode 73893e8d8f 077/128: Merge pull request #34 from zonuexe/fix/auto-mode-tail-match, ELPA Syncer, 2022/01/29
- [nongnu] elpa/jade-mode e621d186c1 080/128: Merge pull request #36 from tjefferson08/remove_hl_after_tags, ELPA Syncer, 2022/01/29
- [nongnu] elpa/jade-mode 449df109fc 074/128: fix unbound variable reference in let binding, ELPA Syncer, 2022/01/29
- [nongnu] elpa/jade-mode 279df56bf9 100/128: add some tests for indentation (new file), ELPA Syncer, 2022/01/29
- [nongnu] elpa/jade-mode 932a2fef33 095/128: [#46] start unit test file for highlighting, ELPA Syncer, 2022/01/29
- [nongnu] elpa/jade-mode 473d29b5c2 091/128: move doctype in rendering order, ELPA Syncer, 2022/01/29
- [nongnu] elpa/jade-mode 8a25dd6702 024/128: Merge pull request #4 from travisjeffery/master, ELPA Syncer, 2022/01/29
- [nongnu] elpa/jade-mode 41351ec293 027/128: Add autoload declarations, explicit requires and ELPA package dependencies.,
ELPA Syncer <=
- [nongnu] elpa/jade-mode c513eded33 045/128: the string doctype now works as a doctype keyword., ELPA Syncer, 2022/01/29
- [nongnu] elpa/jade-mode a1cbadd84d 026/128: add .el file headers to enable automatic packaging - closes gh#6, ELPA Syncer, 2022/01/29
- [nongnu] elpa/jade-mode 4d2f58abd7 044/128: Merge https://github.com/brianc/jade-mode, ELPA Syncer, 2022/01/29
- [nongnu] elpa/jade-mode 62c012c8d6 039/128: Improved Stylus comments syntax highlighting., ELPA Syncer, 2022/01/29
- [nongnu] elpa/jade-mode 00c789673f 068/128: Closes #26. Fix inline '//' highlight as comment, ELPA Syncer, 2022/01/29
- [nongnu] elpa/jade-mode 8f61e0dc6a 040/128: Decimal point can be part of a constant., ELPA Syncer, 2022/01/29
- [nongnu] elpa/jade-mode 109b9850d2 041/128: Created a syntax table for Stylus mode., ELPA Syncer, 2022/01/29
- [nongnu] elpa/jade-mode f540df5ee6 056/128: Merge pull request #16 from tardyp/master, ELPA Syncer, 2022/01/29
- [nongnu] elpa/jade-mode 275ab149ed 051/128: Merge pull request #11 from jkpl/master, ELPA Syncer, 2022/01/29
- [nongnu] elpa/jade-mode d90ad2cc02 036/128: Add syntax table entry for single line comment., ELPA Syncer, 2022/01/29