[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Patch] `info-other-window' does not support same arguments as `info'

From: Damien Cassou
Subject: [Patch] `info-other-window' does not support same arguments as `info'
Date: Thu, 21 Jun 2012 14:09:21 +0200

The doc string of `info-other-window' says it's the same as `info' but
`info' provides a feature that is not supported by
`info-other-window', namely the numeric prefix argument:

(defun info (&optional file-or-node buffer)
A numeric prefix argument selects an Info buffer with the prefix number
appended to the Info buffer name."

(defun info-other-window (&optional file-or-node)
  "Like `info' but show the Info buffer in another window."

Indeed, the `buffer' optional parameter is present in `info' but not
in the other.

I propose the attached trivial patch to resolve the situation.

Damien Cassou

"Lambdas are relegated to relative obscurity until Java makes them
popular by not having them." James Iry

Attachment: info-other-window-get-info-feature.patch
Description: Binary data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]