[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] woman.el (woman-file-name): custom option `woman-use-file-direct
From: |
Vladimir Alexiev |
Subject: |
[PATCH] woman.el (woman-file-name): custom option `woman-use-file-directly' |
Date: |
Sat, 25 Dec 2010 11:46:29 +0200 |
Hi everyone and Merry Christmas!
Sometimes a system may have several versions of man pages. E.g. my cygwin
installation has these for "ls":
- c:/cygwin/usr/man/man1/ls.1 -- ls (fileutils) 4.1 (April 2001)
- c:/cygwin/usr/share/man/man1/ls.1.gz -- GNU coreutils 8.5 (June 2010)
In this case woman.el asks you to select one.
This is distracting if you are in the middle of something and want to quickly
refer to man, and don't care about the particular version.
I attach a small patch for woman.el that fixes this.
Tested on: GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600) of 2010-11-10 on SHAN-PC
It's less than 20 lines (I've signed a GPL waiver before, but that was like 10
years ago).
Cheers! V
woman.patch
Description: Binary data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] woman.el (woman-file-name): custom option `woman-use-file-directly',
Vladimir Alexiev <=