aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2017-10-06 13:42:49 -0600
committerTom Tromey <tom@tromey.com>2017-10-10 13:01:42 -0600
commite4905c7464d23367248bdd5d8eccaebb495b8274 (patch)
treebec11ac9c315437482f84014b7c5cde115636545
parent22b63797983f485041a2a424e6cd7732f4318885 (diff)
downloadgdb-e4905c7464d23367248bdd5d8eccaebb495b8274.zip
gdb-e4905c7464d23367248bdd5d8eccaebb495b8274.tar.gz
gdb-e4905c7464d23367248bdd5d8eccaebb495b8274.tar.bz2
Set lexical-binding in dwarf-mode
Emacs has had lexical binding for a while, and it's a good practice to use it; so enable it in dwarf-mode.el. 2017-10-10 Tom Tromey <tom@tromey.com> * dwarf-mode.el: Set lexical-binding.
-rw-r--r--binutils/ChangeLog4
-rw-r--r--binutils/dwarf-mode.el2
2 files changed, 5 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 7a7edab..47e5fa8 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,5 +1,9 @@
2017-10-10 Tom Tromey <tom@tromey.com>
+ * dwarf-mode.el: Set lexical-binding.
+
+2017-10-10 Tom Tromey <tom@tromey.com>
+
* dwarf-mode.el (dwarf-mode-map): New defvar.
2017-10-10 Tom Tromey <tromey@sourceware.org>
diff --git a/binutils/dwarf-mode.el b/binutils/dwarf-mode.el
index c2c01ee..dc68348 100644
--- a/binutils/dwarf-mode.el
+++ b/binutils/dwarf-mode.el
@@ -1,4 +1,4 @@
-;;; dwarf-mode.el --- Browser for DWARF information.
+;;; dwarf-mode.el --- Browser for DWARF information. -*-lexical-binding:t-*-
;; Version: 1.3