emacs-devel
[Top][All Lists]
Advanced

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

Re: bug#10385: e binding in info-mode


From: Juri Linkov
Subject: Re: bug#10385: e binding in info-mode
Date: Sat, 07 Jan 2012 22:27:34 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (x86_64-pc-linux-gnu)

> I thought that e would be a useful command
> back when I supposed info files would be written by hand.
> But we don't do that, so e is not useful and maybe only causes trouble.

There is more trouble when this obsolete feature is announced
in the customization group `info' via its customizable variable
`Info-enable-edit'.  It would be better to hide it from the
Customization interface by changing `defcustom' to `defvar':

=== modified file 'lisp/info.el'
--- lisp/info.el        2011-12-05 09:52:02 +0000
+++ lisp/info.el        2012-01-07 20:27:15 +0000
@@ -61,14 +61,12 @@
   :group 'info
   :version "24.1")
 
-(defcustom Info-enable-edit nil
-  "Non-nil means the \\<Info-mode-map>\\[Info-edit] command in Info can edit 
the current node.
+(defvar Info-enable-edit nil
+  "Non-nil means the `Info-edit' command in Info can edit the current node.
 This is convenient if you want to write Info files by hand.
 However, we recommend that you not do this.
 It is better to write a Texinfo file and generate the Info file from that,
-because that gives you a printed manual as well."
-  :type 'boolean
-  :group 'info)
+because that gives you a printed manual as well.")
 
 (defvar Info-enable-active-nodes nil
   "Non-nil allows Info to execute Lisp code associated with nodes.



reply via email to

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