[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/lmc 4e16a02 10/14: * packages/lmc/lmc.el (lmc--load-wor
From: |
Stefan Monnier |
Subject: |
[elpa] externals/lmc 4e16a02 10/14: * packages/lmc/lmc.el (lmc--load-word): Remove unused vars. |
Date: |
Sat, 28 Nov 2020 23:22:16 -0500 (EST) |
branch: externals/lmc
commit 4e16a020ed559a7edef7e142d3bfda0cfd3ba797
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>
* packages/lmc/lmc.el (lmc--load-word): Remove unused vars.
(lmc-after-change, lmc-tool-bar-to-string): Mark unused args.
---
lmc.el | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/lmc.el b/lmc.el
index db059d0..b8c8ee0 100644
--- a/lmc.el
+++ b/lmc.el
@@ -1,4 +1,4 @@
-;;; lmc.el --- Little Man Computer in Elisp
+;;; lmc.el --- Little Man Computer in Elisp -*- lexical-binding:t -*-
;; Copyright (C) 2011, 2013, 2014 Free Software Foundation, Inc.
@@ -208,8 +208,7 @@ Also, when nil, evaluation is interrupted when the user
hits a key.")
(let ((word (car word))
(label (nth 1 word))
(code (nth 2 word)))
- (let ((basepos (point))
- (base (current-column)))
+ (let () ;; ((basepos (point)) (base (current-column)))
(if (and label (symbolp label))
(insert (symbol-name label)))
;; (when (>= (current-column) (+ base tab-width))
@@ -350,7 +349,7 @@ Also, when nil, evaluation is interrupted when the user
hits a key.")
(2 (lmc-font-lock-label)))
(".$" (0 (lmc-font-lock-opcode)))))
-(defun lmc-after-change (beg end len)
+(defun lmc-after-change (beg end _len)
(unless inhibit-read-only
(save-excursion
;; Replace any TAB or NL inserted, which could interfere with parsing.
@@ -420,7 +419,7 @@ Also, when nil, evaluation is interrupted when the user
hits a key.")
(defun lmc-tool-bar-to-string (&optional map)
(let ((res ""))
(map-keymap
- (lambda (k v)
+ (lambda (_k v)
(when (eq (car v) 'menu-item)
(let* ((label (nth 1 v))
(cmd (nth 2 v))
- [elpa] branch externals/lmc created (now cb110db), Stefan Monnier, 2020/11/28
- [elpa] externals/lmc 2e56da4 02/14: * lmc.el: Add a few more commands, and a tool-bar., Stefan Monnier, 2020/11/28
- [elpa] externals/lmc d248525 01/14: New package lmc., Stefan Monnier, 2020/11/28
- [elpa] externals/lmc a5fe8d2 04/14: * lmc.el: Make it work on Emacs-22., Stefan Monnier, 2020/11/28
- [elpa] externals/lmc b7cbf14 07/14: * lmc.el (lmc--sit-for): Fix last change., Stefan Monnier, 2020/11/28
- [elpa] externals/lmc 3b26656 08/14: * lmc.el (lmc-asm-indentation): Indent to tab-width by default., Stefan Monnier, 2020/11/28
- [elpa] externals/lmc 6cd76ac 05/14: * packages/lmc/lmc.el (lmc-store-word): match-data can change in sit-for., Stefan Monnier, 2020/11/28
- [elpa] externals/lmc 0604c74 09/14: Add "rudel" to the list of externals., Stefan Monnier, 2020/11/28
- [elpa] externals/lmc cb110db 14/14: * .gitignore: New file, Stefan Monnier, 2020/11/28
- [elpa] externals/lmc 4e16a02 10/14: * packages/lmc/lmc.el (lmc--load-word): Remove unused vars.,
Stefan Monnier <=
- [elpa] externals/lmc 47cc7a9 11/14: * lmc.el: Use cl-lib, Stefan Monnier, 2020/11/28
- [elpa] externals/lmc d0ca555 03/14: 2011-09-29 Stefan Monnier <address@hidden>, Stefan Monnier, 2020/11/28
- [elpa] externals/lmc 5a8a6a3 06/14: * lmc.el (lmc-turbo): New option., Stefan Monnier, 2020/11/28
- [elpa] externals/lmc b65ac80 12/14: * lmc.el: Mention dependencies & bumpp version, Stefan Monnier, 2020/11/28
- [elpa] externals/lmc 5913867 13/14: * lmc.el: Fix `Package-Requires` line, Stefan Monnier, 2020/11/28