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
b872e1da
Commit
b872e1da
authored
Jan 27, 1995
by
Richard M. Stallman
Browse files
(describe-variable): Use local-variable-p.
parent
51b2c841
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
9 deletions
+2
-9
lisp/help.el
lisp/help.el
+2
-9
No files found.
lisp/help.el
View file @
b872e1da
...
...
@@ -504,15 +504,8 @@ Returns the documentation as a string, also."
(
princ
"void."
)
(
prin1
(
symbol-value
variable
)))
(
terpri
)
(
let
((
locals
(
buffer-local-variables
))
is-local
)
(
while
locals
(
if
(
or
(
eq
variable
(
car
locals
))
(
eq
variable
(
car-safe
(
car
locals
))))
(
setq
is-local
t
locals
nil
))
(
setq
locals
(
cdr
locals
)))
(
if
is-local
(
princ
(
format
"Local in buffer %s\n"
(
buffer-name
)))))
(
if
(
local-variable-p
variable
)
(
princ
(
format
"Local in buffer %s\n"
(
buffer-name
))))
(
terpri
)
(
princ
"Documentation:"
)
(
terpri
)
...
...
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