aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2016-12-27 17:37:00 +0100
committerJonas Bernoulli <jonas@bernoul.li>2016-12-27 17:37:00 +0100
commit92e2e88bc2ab515935216245792bed81b7cc2e99 (patch)
treeacb5780c14daaea9ddf21bfa2a143085c5746697 /lisp
parent1c6205d804abfec75386ebdb6df6b30b62ccaf09 (diff)
Set local variables in lisp/.dir-locals.el
Diffstat (limited to 'lisp')
-rw-r--r--lisp/.dir-locals.el2
-rw-r--r--lisp/git-commit.el4
-rw-r--r--lisp/git-rebase.el3
-rw-r--r--lisp/magit-apply.el4
-rw-r--r--lisp/magit-autorevert.el4
-rw-r--r--lisp/magit-bisect.el4
-rw-r--r--lisp/magit-blame.el4
-rw-r--r--lisp/magit-commit.el4
-rw-r--r--lisp/magit-core.el4
-rw-r--r--lisp/magit-diff.el5
-rw-r--r--lisp/magit-ediff.el4
-rw-r--r--lisp/magit-extras.el4
-rw-r--r--lisp/magit-git.el5
-rw-r--r--lisp/magit-log.el5
-rw-r--r--lisp/magit-margin.el4
-rw-r--r--lisp/magit-mode.el4
-rw-r--r--lisp/magit-popup.el5
-rw-r--r--lisp/magit-process.el5
-rw-r--r--lisp/magit-remote.el4
-rw-r--r--lisp/magit-section.el4
-rw-r--r--lisp/magit-sequence.el4
-rw-r--r--lisp/magit-stash.el4
-rw-r--r--lisp/magit-submodule.el5
-rw-r--r--lisp/magit-subtree.el4
-rw-r--r--lisp/magit-utils.el5
-rw-r--r--lisp/magit.el3
26 files changed, 2 insertions, 105 deletions
diff --git a/lisp/.dir-locals.el b/lisp/.dir-locals.el
new file mode 100644
index 0000000..3a491ef
--- /dev/null
+++ b/lisp/.dir-locals.el
@@ -0,0 +1,2 @@
+((emacs-lisp-mode
+ (indent-tabs-mode . nil)))
diff --git a/lisp/git-commit.el b/lisp/git-commit.el
index 149ebd8..6ad113d 100644
--- a/lisp/git-commit.el
+++ b/lisp/git-commit.el
@@ -732,9 +732,5 @@ Added to `font-lock-extend-region-functions'."
(get-text-property pos 'face)))
(buffer-string)))))))
-;;; git-commit.el ends soon
(provide 'git-commit)
-;; Local Variables:
-;; indent-tabs-mode: nil
-;; End:
;;; git-commit.el ends here
diff --git a/lisp/git-rebase.el b/lisp/git-rebase.el
index a6d5e89..5fbc380 100644
--- a/lisp/git-rebase.el
+++ b/lisp/git-rebase.el
@@ -545,7 +545,4 @@ By default, this is the same except for the \"pick\" command."
(add-to-list 'with-editor-file-name-history-exclude git-rebase-filename-regexp)
(provide 'git-rebase)
-;; Local Variables:
-;; indent-tabs-mode: nil
-;; End:
;;; git-rebase.el ends here
diff --git a/lisp/magit-apply.el b/lisp/magit-apply.el
index 74497cd..89463cc 100644
--- a/lisp/magit-apply.el
+++ b/lisp/magit-apply.el
@@ -589,9 +589,5 @@ a separate commit. A typical workflow would be:
(interactive)
(magit-reverse (cons "--cached" args)))
-;;; magit-apply.el ends soon
(provide 'magit-apply)
-;; Local Variables:
-;; indent-tabs-mode: nil
-;; End:
;;; magit-apply.el ends here
diff --git a/lisp/magit-autorevert.el b/lisp/magit-autorevert.el
index 7635d8f..beb6d43 100644
--- a/lisp/magit-autorevert.el
+++ b/lisp/magit-autorevert.el
@@ -255,9 +255,5 @@ located. If there is no current repository, then return FALLBACK
(advice-add 'auto-revert-buffers :before
'auto-revert-buffers--buffer-list-filter)
-;;; magit-autorevert.el ends soon
(provide 'magit-autorevert)
-;; Local Variables:
-;; indent-tabs-mode: nil
-;; End:
;;; magit-autorevert.el ends here
diff --git a/lisp/magit-bisect.el b/lisp/magit-bisect.el
index 6c1c4f1..9757109 100644
--- a/lisp/magit-bisect.el
+++ b/lisp/magit-bisect.el
@@ -200,9 +200,5 @@ bisect run'."
(magit-insert-section (bisect-log)
(insert hash " is the first bad commit\n"))))))
-;;; magit-bisect.el ends soon
(provide 'magit-bisect)
-;; Local Variables:
-;; indent-tabs-mode: nil
-;; End:
;;; magit-bisect.el ends here
diff --git a/lisp/magit-blame.el b/lisp/magit-blame.el
index 23f096f..45142eb 100644
--- a/lisp/magit-blame.el
+++ b/lisp/magit-blame.el
@@ -525,9 +525,5 @@ like `kill-ring-save' would."
(let ((magit-display-buffer-noselect t))
(apply #'magit-show-commit rev (magit-diff-arguments))))))))))
-;;; magit-blame.el ends soon
(provide 'magit-blame)
-;; Local Variables:
-;; indent-tabs-mode: nil
-;; End:
;;; magit-blame.el ends here
diff --git a/lisp/magit-commit.el b/lisp/magit-commit.el
index cb365dc..807e1e8 100644
--- a/lisp/magit-commit.el
+++ b/lisp/magit-commit.el
@@ -409,9 +409,5 @@ actually insert the entry."
(insert (format "(%s): \n" defun))
(backward-char))))))
-;;; magit-commit.el ends soon
(provide 'magit-commit)
-;; Local Variables:
-;; indent-tabs-mode: nil
-;; End:
;;; magit-commit.el ends here
diff --git a/lisp/magit-core.el b/lisp/magit-core.el
index 5b32890..80452ec 100644
--- a/lisp/magit-core.el
+++ b/lisp/magit-core.el
@@ -128,9 +128,5 @@ are enabled by default by the popup `magit-NAME-popup'."
(custom-add-to-group 'magit-related 'smerge-refine-ignore-whitespace 'custom-variable)
(custom-add-to-group 'magit-related 'vc-follow-symlinks 'custom-variable)
-;;; magit-core.el ends soon
(provide 'magit-core)
-;; Local Variables:
-;; indent-tabs-mode: nil
-;; End:
;;; magit-core.el ends here
diff --git a/lisp/magit-diff.el b/lisp/magit-diff.el
index 014604d..9469b02 100644
--- a/lisp/magit-diff.el
+++ b/lisp/magit-diff.el
@@ -2402,14 +2402,9 @@ https://github.com/magit/magit/pull/2293 for more details)."
(setq patch (buffer-string)))
patch))
-;;; magit-diff.el ends soon
-
(make-obsolete-variable 'magit-diff-show-lines-boundary
'magit-diff-highlight-hunk-region-functions
"Magit 2.9.0")
(provide 'magit-diff)
-;; Local Variables:
-;; indent-tabs-mode: nil
-;; End:
;;; magit-diff.el ends here
diff --git a/lisp/magit-ediff.el b/lisp/magit-ediff.el
index fb9dc04..412eb37 100644
--- a/lisp/magit-ediff.el
+++ b/lisp/magit-ediff.el
@@ -498,9 +498,5 @@ stash that were staged."
(defun magit-ediff-restore-previous-winconf ()
(set-window-configuration magit-ediff-previous-winconf))
-;;; magit-ediff.el ends soon
(provide 'magit-ediff)
-;; Local Variables:
-;; indent-tabs-mode: nil
-;; End:
;;; magit-ediff.el ends here
diff --git a/lisp/magit-extras.el b/lisp/magit-extras.el
index e66611d..8c9b141 100644
--- a/lisp/magit-extras.el
+++ b/lisp/magit-extras.el
@@ -195,9 +195,5 @@ on a position in a file-visiting buffer."
(prompt-for-change-log-name))))
(magit-add-change-log-entry whoami file-name t))
-;;; magit-extras.el ends soon
(provide 'magit-extras)
-;; Local Variables:
-;; indent-tabs-mode: nil
-;; End:
;;; magit-extras.el ends here
diff --git a/lisp/magit-git.el b/lisp/magit-git.el
index 409d32f..fff94be 100644
--- a/lisp/magit-git.el
+++ b/lisp/magit-git.el
@@ -1535,8 +1535,6 @@ Return a list of two integers: (A>B B>A)."
(gv-define-setter magit-get (val &rest keys)
`(magit-set ,val ,@keys))
-;;; magit-git.el ends soon
-
(define-obsolete-variable-alias 'magit-git-standard-options
'magit-git-global-arguments "Magit 2.1.0")
(define-obsolete-function-alias 'magit-get-tracked-ref
@@ -1547,7 +1545,4 @@ Return a list of two integers: (A>B B>A)."
'magit-get-upstream-remote "Magit 2.4.0")
(provide 'magit-git)
-;; Local Variables:
-;; indent-tabs-mode: nil
-;; End:
;;; magit-git.el ends here
diff --git a/lisp/magit-log.el b/lisp/magit-log.el
index e1ae4bc..f79d5bc 100644
--- a/lisp/magit-log.el
+++ b/lisp/magit-log.el
@@ -1517,15 +1517,10 @@ all others with \"-\"."
(magit-git-wash (apply-partially 'magit-log-wash-log 'cherry)
"cherry" "-v" (magit-abbrev-arg) "@{upstream}"))))
-;;; magit-log.el ends soon
-
(define-obsolete-variable-alias 'magit-log-section-args
'magit-log-section-arguments "Magit 2.2.0")
(define-obsolete-function-alias 'magit-insert-unpulled-or-recent-commits
'magit-insert-unpulled-from-upstream-or-recent "Magit 2.4.0")
(provide 'magit-log)
-;; Local Variables:
-;; indent-tabs-mode: nil
-;; End:
;;; magit-log.el ends here
diff --git a/lisp/magit-margin.el b/lisp/magit-margin.el
index 471f01e..a56e8c3 100644
--- a/lisp/magit-margin.el
+++ b/lisp/magit-margin.el
@@ -225,9 +225,5 @@ English.")
(fn (abs (- (float-time) (string-to-number date)))
magit--age-spec)))
-;;; magit-margin.el ends soon
(provide 'magit-margin)
-;; Local Variables:
-;; indent-tabs-mode: nil
-;; End:
;;; magit-margin.el ends here
diff --git a/lisp/magit-mode.el b/lisp/magit-mode.el
index d9e3b0a..eae7404 100644
--- a/lisp/magit-mode.el
+++ b/lisp/magit-mode.el
@@ -1152,9 +1152,5 @@ Currently `magit-log-mode', `magit-reflog-mode',
(float-time (time-subtract (current-time) start))))
(run-hooks hook))))
-;;; magit-mode.el ends soon
(provide 'magit-mode)
-;; Local Variables:
-;; indent-tabs-mode: nil
-;; End:
;;; magit-mode.el ends here
diff --git a/lisp/magit-popup.el b/lisp/magit-popup.el
index 0228501..fbf1f58 100644
--- a/lisp/magit-popup.el
+++ b/lisp/magit-popup.el
@@ -1275,8 +1275,6 @@ variable whose value may be used as a default."
files (split-string (substring files 3) ",")))
(list args files)))
-;;; magit-popup.el ends soon
-
(defconst magit-popup-font-lock-keywords
(eval-when-compile
`((,(concat "(\\(magit-define-popup\\)\\_>"
@@ -1288,7 +1286,4 @@ variable whose value may be used as a default."
(font-lock-add-keywords 'emacs-lisp-mode magit-popup-font-lock-keywords)
(provide 'magit-popup)
-;; Local Variables:
-;; indent-tabs-mode: nil
-;; End:
;;; magit-popup.el ends here
diff --git a/lisp/magit-process.el b/lisp/magit-process.el
index 345519a..21dfe6f 100644
--- a/lisp/magit-process.el
+++ b/lisp/magit-process.el
@@ -872,13 +872,8 @@ as argument."
(pop-to-buffer buf))))))
process))))))
-;;; magit-process.el ends soon
-
(define-obsolete-variable-alias 'magit-log-output-coding-system
'magit-git-output-coding-system "Magit 2.9.0")
(provide 'magit-process)
-;; Local Variables:
-;; indent-tabs-mode: nil
-;; End:
;;; magit-process.el ends here
diff --git a/lisp/magit-remote.el b/lisp/magit-remote.el
index 9a9cd7c..89a34b4 100644
--- a/lisp/magit-remote.el
+++ b/lisp/magit-remote.el
@@ -762,9 +762,5 @@ is asked to pull. START has to be reachable from that commit."
(magit-git-insert "request-pull" start url end)
(set-buffer-modified-p nil))
-;;; magit-remote.el ends soon
(provide 'magit-remote)
-;; Local Variables:
-;; indent-tabs-mode: nil
-;; End:
;;; magit-remote.el ends here
diff --git a/lisp/magit-section.el b/lisp/magit-section.el
index a40bf21..278a73c 100644
--- a/lisp/magit-section.el
+++ b/lisp/magit-section.el
@@ -1175,9 +1175,5 @@ again use `remove-hook'."
(set hook value)
(set-default hook value))))
-;;; magit-section.el ends soon
(provide 'magit-section)
-;; Local Variables:
-;; indent-tabs-mode: nil
-;; End:
;;; magit-section.el ends here
diff --git a/lisp/magit-sequence.el b/lisp/magit-sequence.el
index d3b7de9..86195d3 100644
--- a/lisp/magit-sequence.el
+++ b/lisp/magit-sequence.el
@@ -662,9 +662,5 @@ If no such sequence is in progress, do nothing."
(insert (propertize type 'face face) ?\s
(magit-format-rev-summary hash) ?\n)))
-;;; magit-sequence.el ends soon
(provide 'magit-sequence)
-;; Local Variables:
-;; indent-tabs-mode: nil
-;; End:
;;; magit-sequence.el ends here
diff --git a/lisp/magit-stash.el b/lisp/magit-stash.el
index ad578f4..ecc5e55 100644
--- a/lisp/magit-stash.el
+++ b/lisp/magit-stash.el
@@ -430,9 +430,5 @@ instead of \"Stashes:\"."
(magit-git-items "ls-tree" "-z" "--name-only"
"-r" "--full-tree" rev)))))
-;;; magit-stash.el ends soon
(provide 'magit-stash)
-;; Local Variables:
-;; indent-tabs-mode: nil
-;; End:
;;; magit-stash.el ends here
diff --git a/lisp/magit-submodule.el b/lisp/magit-submodule.el
index 474cbd8..da134ff 100644
--- a/lisp/magit-submodule.el
+++ b/lisp/magit-submodule.el
@@ -342,15 +342,10 @@ These sections can be expanded to show the respective commits."
"Insert the relative path of the submodule."
path)
-;;; magit-submodule.el ends soon
-
(define-obsolete-function-alias 'magit-insert-unpulled-module-commits
'magit-insert-modules-unpulled-from-upstream "Magit 2.6.0")
(define-obsolete-function-alias 'magit-insert-unpushed-module-commits
'magit-insert-modules-unpushed-to-upstream "Magit 2.6.0")
(provide 'magit-submodule)
-;; Local Variables:
-;; indent-tabs-mode: nil
-;; End:
;;; magit-submodule.el ends here
diff --git a/lisp/magit-subtree.el b/lisp/magit-subtree.el
index dcb3a45..b0f3655 100644
--- a/lisp/magit-subtree.el
+++ b/lisp/magit-subtree.el
@@ -134,9 +134,5 @@
(magit-subtree-args)))
(magit-git-subtree "split" prefix args commit))
-;;; magit-subtree.el ends soon
(provide 'magit-subtree)
-;; Local Variables:
-;; indent-tabs-mode: nil
-;; End:
;;; magit-subtree.el ends here
diff --git a/lisp/magit-utils.el b/lisp/magit-utils.el
index 1f389ec..4a45dc7 100644
--- a/lisp/magit-utils.el
+++ b/lisp/magit-utils.el
@@ -661,13 +661,8 @@ the %s(1) manpage.
(advice-add 'org-man-export :around
'org-man-export--magit-gitman)
-;;; magit-utils.el ends soon
-
(define-obsolete-variable-alias 'magit-duration-spec
'magit--age-spec "Magit 2.9.0")
(provide 'magit-utils)
-;; Local Variables:
-;; indent-tabs-mode: nil
-;; End:
;;; magit-utils.el ends here
diff --git a/lisp/magit.el b/lisp/magit.el
index 825a93b..7b40391 100644
--- a/lisp/magit.el
+++ b/lisp/magit.el
@@ -3719,7 +3719,4 @@ use `magit-pre-refresh-hook', `magit-post-refresh-hook',
(add-hook 'after-init-hook #'magit-startup-asserts t)
(add-hook 'after-init-hook #'magit-version t))
-;; Local Variables:
-;; indent-tabs-mode: nil
-;; End:
;;; magit.el ends here