summaryrefslogtreecommitdiff
path: root/lisp/register.el
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2011-04-19 15:44:55 +0200
committerJuanma Barranquero <lekktu@gmail.com>2011-04-19 15:44:55 +0200
commit06b605171f1c9d8b42bd3326a243b8b03d2e4e58 (patch)
treee96c135042999136bf0e75d113aae306e51983e3 /lisp/register.el
parent04c569546ad52f6270d8fc6d4aa0750950a0ac05 (diff)
lisp/*.el: Lexical-binding cleanup.
Diffstat (limited to 'lisp/register.el')
-rw-r--r--lisp/register.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/register.el b/lisp/register.el
index 517c50ee1e2..af1a421a0a2 100644
--- a/lisp/register.el
+++ b/lisp/register.el
@@ -88,7 +88,7 @@ Argument is a character, naming the register."
(if arg (list (current-frame-configuration) (point-marker))
(point-marker))))
-(defun window-configuration-to-register (register &optional arg)
+(defun window-configuration-to-register (register &optional _arg)
"Store the window configuration of the selected frame in register REGISTER.
Use \\[jump-to-register] to restore the configuration.
Argument is a character, naming the register."
@@ -97,7 +97,7 @@ Argument is a character, naming the register."
;; of point in the current buffer, so record that separately.
(set-register register (list (current-window-configuration) (point-marker))))
-(defun frame-configuration-to-register (register &optional arg)
+(defun frame-configuration-to-register (register &optional _arg)
"Store the window configuration of all frames in register REGISTER.
Use \\[jump-to-register] to restore the configuration.
Argument is a character, naming the register."