Commit 1d01ad41 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

* lisp/emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.

parent e5afbcac
2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
* emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
* progmodes/python.el: Fix up last change.
(python-shell--save-temp-file): New function.
(python-shell-send-string): Use it. Remove `msg' arg. Don't assume
......
;;; helpers.el --- Some non-essential library extensions
;;; helpers.el --- Some non-essential library extensions -*- lexical-binding:t -*-
;; Copyright (C) 2013 Free Software Foundation, Inc.
......@@ -28,13 +28,13 @@
(defsubst hash-table-keys (hash-table)
"Return a list of keys in HASH-TABLE."
(let ((keys '()))
(maphash (lambda (k v) (push k keys)) hash-table)
(maphash (lambda (k _v) (push k keys)) hash-table)
keys))
(defsubst hash-table-values (hash-table)
"Return a list of values in HASH-TABLE."
(let ((values '()))
(maphash (lambda (k v) (push v values)) hash-table)
(maphash (lambda (_k v) (push v values)) hash-table)
values))
(provide 'helpers)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment