summaryrefslogtreecommitdiff
path: root/debian/patches/008-emacs-mode-key-literal-indent.patch
diff options
context:
space:
mode:
authorMichael Stapelberg <michael@stapelberg.de>2013-07-14 16:42:35 +0200
committerMichael Stapelberg <michael@stapelberg.de>2013-07-14 16:42:35 +0200
commitc05ea968b0d51cb8e3a767642d5342de46a3a82d (patch)
tree724e099df4f2bfeddc509fc1f2c33fee6ec6c700 /debian/patches/008-emacs-mode-key-literal-indent.patch
parent40c893b1dc1599ae9013fc527b15cb93623c5a0e (diff)
downloadgolang-c05ea968b0d51cb8e3a767642d5342de46a3a82d.tar.gz
delete all obsolete patches
Diffstat (limited to 'debian/patches/008-emacs-mode-key-literal-indent.patch')
-rw-r--r--debian/patches/008-emacs-mode-key-literal-indent.patch19
1 files changed, 0 insertions, 19 deletions
diff --git a/debian/patches/008-emacs-mode-key-literal-indent.patch b/debian/patches/008-emacs-mode-key-literal-indent.patch
deleted file mode 100644
index 6f11ed7ac..000000000
--- a/debian/patches/008-emacs-mode-key-literal-indent.patch
+++ /dev/null
@@ -1,19 +0,0 @@
---- a/misc/emacs/go-mode.el
-+++ b/misc/emacs/go-mode.el
-@@ -7,7 +7,6 @@
- ;;; To do:
-
- ;; * Indentation is *almost* identical to gofmt
--;; ** We think struct literal keys are labels and outdent them
- ;; ** We disagree on the indentation of function literals in arguments
- ;; ** There are bugs with the close brace of struct literals
- ;; * Highlight identifiers according to their syntactic context: type,
-@@ -401,7 +400,7 @@ indented one level."
- (setq first nil))))
-
- ;; case, default, and labels are outdented 1 level
-- (when (looking-at "\\<case\\>\\|\\<default\\>\\|\\w+\\s *:\\(\\S.\\|$\\)")
-+ (when (looking-at "\\<case\\>\\|\\<default\\>\\|\\w+[:space:]*:[:space:]**$")
- (decf indent tab-width))
-
- ;; Continuation lines are indented 1 level