Article View: gnu.emacs.bug
Article #100049c-mode documentation fix
From: Joe Wells
Date: Sat, 17 Mar 1990 23:13
Date: Sat, 17 Mar 1990 23:13
36 lines
1953 bytes
1953 bytes
GNU Emacs 18.55.
The documentation for c-indent-command doesn't show up because the
documentation string isn't the next item in the function body after the
parameter list. I'm including a patch for this.
(For the curious: Yes, you have seen this exact same patch before. More
than two years ago ...)
--
Joe Wells <jbw@bu.edu>
jbw%bucsf.bu.edu@cs.bu.edu
...!harvard!bu-cs!bucsf!jbw
----------------------------------------------------------------------
*** /usr14/gnu/dist-18.55/lisp/c-mode.el Fri May 27 21:28:12 1988
--- c-mode.el Sat Mar 17 18:06:31 1990
***************
*** 257,263 ****
(error nil)))
(defun c-indent-command (&optional whole-exp)
- (interactive "P")
"Indent current line as C code, or in some cases insert a tab character.
If c-tab-always-indent is non-nil (the default), always indent current line.
Otherwise, indent the current line only if point is at the left margin
--- 257,262 ----
***************
*** 267,272 ****
--- 266,272 ----
means indent rigidly all the lines of the expression starting after point
so that this line becomes properly indented.
The relative indentation among the lines of the expression are preserved."
+ (interactive "P")
(if whole-exp
;; If arg, always indent this line as C
;; and shift remaining lines of expression the same amount.
Technical Details
Message-ID:
<9003172313.AA30972@bucsf.bu.edu>Path:
arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!snorkelwacker!tut.cis.ohio-state.edu!BUCSF.BU.EDU!jbwShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,bbd0686ac79cd9e1,start X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1990-03-17 23:17:59 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!snorkelwacker!tut.cis.ohio-state.edu!BUCSF.BU.EDU!jbw From: jbw@BUCSF.BU.EDU (Joe Wells) Newsgroups: gnu.emacs.bug Subject: c-mode documentation fix Message-ID: <9003172313.AA30972@bucsf.bu.edu> Date: 17 Mar 90 23:13:36 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 36 Posted: Sun Mar 18 00:13:36 1990