Skip to content

Commit 106fb73

Browse files
committed
Make lexical binding work
The header for file local was broken in a lot of files so the lexical-binding wasn't set.
1 parent 382fdfc commit 106fb73

7 files changed

+8
-9
lines changed

Diff for: docs/org-bootstrap.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
;;; org-bootstrap.el --- Description *- lexical-binding: t; -*-
1+
;;; org-bootstrap.el --- Description -*- lexical-binding: t; -*-
22

33
;; Copyright (C) 2019 David Landell <[email protected]>
44
;;

Diff for: rg-header.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
;;; rg-header.el --- Header line for rg-mode *- lexical-binding: t; -*-
1+
;;; rg-header.el --- Header line for rg-mode -*- lexical-binding: t; -*-
22

33
;; Copyright (C) 2018 David Landell <[email protected]>
44
;;

Diff for: rg-history.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
;;; rg-history.el --- History navigation in rg.el *- lexical-binding: t; -*-
1+
;;; rg-history.el --- History navigation in rg.el -*- lexical-binding: t; -*-
22

33
;; Copyright (C) 2018 David Landell <[email protected]>
44
;;

Diff for: rg-ibuffer.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
;;; rg-ibuffer.el --- List search buffers for rg-mode *- lexical-binding: t; -*-
1+
;;; rg-ibuffer.el --- List search buffers for rg-mode -*- lexical-binding: t; -*-
22

33
;; Copyright (C) 2018 David Landell <[email protected]>
44
;;

Diff for: rg-info-hack.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
;;; rg-info-hack.el --- Make sure rg.el info documentation looks good *- lexical-binding: t; -*-
1+
;;; rg-info-hack.el --- Make sure rg.el info documentation looks good -*- lexical-binding: t; -*-
22

33
;; Copyright (C) 2019 David Landell <[email protected]>
44
;;

Diff for: rg-isearch.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
;;; rg-isearch.el --- rg integration into isearch *- lexical-binding: t; -*-
1+
;;; rg-isearch.el --- rg integration into isearch -*- lexical-binding: t; -*-
22

33
;; Copyright (C) 2020 David Landell <[email protected]>
44
;;

Diff for: rg-result.el

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
;;; rg-result.el ---- Result buffer implementation for rg.el. *- lexical-binding: t; -*-
1+
;;; rg-result.el ---- Result buffer implementation for rg.el. -*- lexical-binding: t; -*-
22

33
;; Copyright (C) 2018 David Landell <[email protected]>
44
;;
@@ -271,8 +271,7 @@ definitions is a string or a vector of symbols an characters."
271271
;; be more usable.
272272
(defun rg-command-line-properties ()
273273
"Return properties for graying out and keymap for hiding command line."
274-
(let ((map (make-sparse-keymap))
275-
properties)
274+
(let ((map (make-sparse-keymap)))
276275
(define-key map [down-mouse-2] 'mouse-set-point)
277276
(define-key map [mouse-2] 'rg-toggle-command-hiding)
278277
(define-key map "\C-m" 'rg-toggle-command-hiding)

0 commit comments

Comments
 (0)