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
573f4575
Commit
573f4575
authored
Nov 25, 2009
by
Kevin Ryde
Browse files
(man): completion-ignore-case t for friendliness and since man
itself is case-insensitive on the command line.
parent
002cbde5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
lisp/ChangeLog
lisp/ChangeLog
+4
-2
lisp/man.el
lisp/man.el
+7
-0
No files found.
lisp/ChangeLog
View file @
573f4575
...
...
@@ -3,8 +3,10 @@
* man.el (Man-completion-table): default-directory "/" in case
doesn't otherwise exist. process-environment COLUMNS=999 so as
not to truncate long names. process-connection-type pipe to avoid
any chance of hitting the pseudo-tty TIOCGWINSZ. (Further to
Bug#3717.)
any chance of hitting the pseudo-tty TIOCGWINSZ.
(man): completion-ignore-case t for friendliness and since man
itself is case-insensitive on the command line.
Further to Bug#3717.
2009-11-25 Juri Linkov <juri@jurta.org>
...
...
lisp/man.el
View file @
573f4575
...
...
@@ -799,6 +799,13 @@ all sections related to a subject, put something appropriate into the
`Man-switches' variable, which see."
(
interactive
(
list
(
let*
((
default-entry
(
Man-default-man-entry
))
;; ignore case because that's friendly for bizarre
;; caps things like the X11 function names and because
;; "man" itself is case-sensitive on the command line
;; so you're accustomed not to bother about the case
;; ("man -k" is case-insensitive similarly, so the
;; table has everything available to complete)
(
completion-ignore-case
t
)
(
input
(
completing-read
(
format
"Manual entry%s"
(
if
(
string=
default-entry
""
)
...
...
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