Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
e6de100c
Commit
e6de100c
authored
Apr 14, 2012
by
Lars Ingebrigtsen
Browse files
(server-generate-key): `called-interactively-p' requires a parameter.
parent
29734c21
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/server.el
lisp/server.el
+1
-1
No files found.
lisp/ChangeLog
View file @
e6de100c
2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
* server.el (server-generate-key): `called-interactively-p'
requires a parameter.
2012-04-14 Michal Nazarewicz <mina86@mina86.com>
* server.el (server-auth-key): New variable.
...
...
lisp/server.el
View file @
e6de100c
...
...
@@ -558,7 +558,7 @@ into current buffer."
(
loop
repeat
64
collect
(
+
33
(
random
94
))
into
auth
finally
return
(
concat
auth
))))
(
if
(
called-interactively-p
)
(
if
(
called-interactively-p
'interactive
)
(
insert
auth-key
))
auth-key
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment