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
7fd09fb5
Commit
7fd09fb5
authored
Jan 23, 2007
by
Martin Rudalics
Browse files
(describe-variable): Don't suppress display of
buffer local value when the value is "large".
parent
040c474e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
lisp/help-fns.el
lisp/help-fns.el
+6
-2
No files found.
lisp/help-fns.el
View file @
7fd09fb5
...
...
@@ -553,7 +553,11 @@ it is displayed along with the global value."
;; of a symbol.
(
set-syntax-table
emacs-lisp-mode-syntax-table
)
(
goto-char
val-start-pos
)
(
delete-region
(
point
)
(
progn
(
end-of-line
)
(
point
)))
;; The line below previously read as
;; (delete-region (point) (progn (end-of-line) (point)))
;; which suppressed display of the buffer local value for
;; large values.
(
when
(
looking-at
"value is"
)
(
replace-match
""
))
(
save-excursion
(
insert
"\n\nValue:"
)
(
set
(
make-local-variable
'help-button-cache
)
...
...
@@ -563,7 +567,7 @@ it is displayed along with the global value."
'action
help-button-cache
'follow-link
t
'help-echo
"mouse-2, RET: show value"
)
(
insert
".\n
\n
"
)))
(
insert
".\n"
)))
;; Mention if it's an alias
(
let*
((
alias
(
condition-case
nil
...
...
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