git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 6/7] git-blame.el: Doc fixes and cleanup

From
Jakub Narebski <jnareb@gmail.com>
Date
Feb 9, 2007, 09:39 UTC
Message-ID
<eqhfdv$8uq$1@sea.gmane.org>
In-Reply-To
<87irebpwps.fsf@morpheus.local>
[Cc: git@vger.kernel.org]
David K?gedal wrote:
Show 8 quoted lines
> @@ -123,6 +123,7 @@
>  
>  ;;;###autoload
>  (defun git-blame-mode (&optional arg)
> +  "Minor mode for displaying Git blame"
>    (interactive "P")
>    (if arg
>        (setq git-blame-mode (eq arg 1))

We should probably also change file description in header, and autoload instruction in Installation: section of commentary:

;;; git-blame.el --- Minor mode for displaying Git blame -*- coding: utf-8 -*- ;;

[...]

;; If you do not want to load this package before it is necessary, you ;; can make use of the `autoload' feature, e.g. by adding to your .emacs ;; the following lines ;; ;; (autoload 'git-blame-mode "git-blame" ;; "Minor mode for displaying Git blame" t)

(docstring is needed because INTERACTIVE is _fourth_ parameter).
-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
Previous: David KågedalNext: David Kågedal
Message 2 of 3 in “git-blame.el: Doc fixes and cleanup”
  1. 6/7 git-blame.el: Doc fixes and cleanupDavid Kågedal, Feb 9, 2007
  2. Jakub NarebskiFeb 9, 2007
  3. David KågedalFeb 9, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.