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
commitcca2fe10c6fa21d94468820c3419586dfd4e697e (patch)
treeaecb13d69646082c08309d655933da6d44eb7160 /lisp/register.el
parent28cf79be77e3f0300e21376d1aad7d8ebc2630c6 (diff)
downloademacs-cca2fe10c6fa21d94468820c3419586dfd4e697e.tar.gz
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."