emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/bnf-mode b600de4 07/22: Added support of outline-minor-


From: Stefan Monnier
Subject: [elpa] externals/bnf-mode b600de4 07/22: Added support of outline-minor-mode
Date: Tue, 3 Mar 2020 10:56:53 -0500 (EST)

branch: externals/bnf-mode
commit b600de4347f4da36ddbd422982eba6bf27893c27
Author: Serghei Iakovlev <address@hidden>
Commit: Serghei Iakovlev <address@hidden>

    Added support of outline-minor-mode
---
 .dir-locals.el |  8 ++++++++
 Makefile       | 14 +++++++++-----
 2 files changed, 17 insertions(+), 5 deletions(-)

diff --git a/.dir-locals.el b/.dir-locals.el
new file mode 100644
index 0000000..a6b4126
--- /dev/null
+++ b/.dir-locals.el
@@ -0,0 +1,8 @@
+;;; Directory Local Variables
+;;; For more information see (info "(emacs) Directory Variables")
+
+((emacs-lisp-mode
+  (indent-tabs-mode . nil)
+  (outline-regexp . ";;[;*]+[\s\t]+"))
+ (makefile-gmake-mode
+  (outline-regexp . "##")))
diff --git a/Makefile b/Makefile
index 08e1f05..81fc80a 100644
--- a/Makefile
+++ b/Makefile
@@ -34,7 +34,8 @@ PANDOCLAGS ?= --fail-if-warnings \
 
 PKGDIR := $(shell EMACS=$(EMACS) $(CASK) package-directory)
 
-# File lists
+## File lists
+
 SRCS = bnf-mode.el
 OBJS = $(SRCS:.el=.elc)
 
@@ -51,11 +52,13 @@ Makefile: ;              # skip prerequisite discovery
 # Run make help by default
 .DEFAULT_GOAL = build
 
-# Internal variables
+## Internal variables
+
 EMACSBATCH = $(EMACS) -Q --batch -L . $(EMACSFLAGS)
 RUNEMACS =
 
-# Program availability
+## Programs availability
+
 HAVE_CASK := $(shell sh -c "command -v $(CASK)")
 ifndef HAVE_CASK
 $(warning "$(CASK) is not available.  Please run make help")
@@ -71,7 +74,8 @@ $(PKGDIR): Cask
        $(CASK) install
        touch $(PKGDIR)
 
-# Remove badges
+## Remove badges
+
 define org-clean
        cat $^ | sed -e "s/\[\[.*\.svg\]\]//g"
 endef
@@ -91,7 +95,7 @@ $(ARCHIVE_NAME)-pkg.el: $(ARCHIVE_NAME).el
 $(PACKAGE_NAME).tar: README ChangeLog LICENSE $(ARCHIVE_NAME).el 
$(ARCHIVE_NAME)-pkg.el $(ARCHIVE_NAME).info dir
        $(TAR) -c -v -f $(PACKAGE_NAME).tar --transform "s@^@$(PACKAGE_NAME)/@" 
$^
 
-# Public targets
+## Public targets
 
 .PHONY: .title
 .title:



reply via email to

[Prev in Thread] Current Thread [Next in Thread]