1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-23 10:34:07 +00:00

Actually use lexical-binding in wid-browse.el

* lisp/wid-browse.el: Use lexical-binding.  I apparently forgot to
commit the lexical-binding cookie in my previous attempt.
This commit is contained in:
Stefan Kangas 2021-03-21 17:04:32 +01:00
parent 70b64e0d04
commit 574eadbdaf

View File

@ -1,7 +1,7 @@
;;; wid-browse.el --- functions for browsing widgets
;;
;;; wid-browse.el --- functions for browsing widgets -*- lexical-binding: t -*-
;; Copyright (C) 1997, 2001-2021 Free Software Foundation, Inc.
;;
;; Author: Per Abrahamsen <abraham@dina.kvl.dk>
;; Keywords: extensions
;; Package: emacs
@ -22,7 +22,7 @@
;; along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>.
;;; Commentary:
;;
;; Widget browser. See `widget.el'.
;;; Code:
@ -38,7 +38,7 @@
(defvar widget-browse-mode-map
(let ((map (make-sparse-keymap)))
(set-keymap-parent map widget-keymap)
(define-key map "q" 'bury-buffer)
(define-key map "q" #'bury-buffer)
map)
"Keymap for `widget-browse-mode'.")