emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/trunk r107172: Minor-mode doc fixes for ARG


From: Glenn Morris
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r107172: Minor-mode doc fixes for ARG behavior
Date: Tue, 07 Feb 2012 21:12:24 -0500
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 107172
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Tue 2012-02-07 21:12:24 -0500
message:
  Minor-mode doc fixes for ARG behavior
  
  * lisp/completion.el (dynamic-completion-mode):
  * lisp/dirtrack.el (dirtrack-debug-mode):
  * lisp/electric.el (electric-layout-mode):
  * lisp/epa-mail.el (epa-mail-mode, epa-global-mail-mode):
  * lisp/face-remap.el (text-scale-mode, buffer-face-mode):
  * lisp/iimage.el (iimage-mode):
  * lisp/image-mode.el (image-transform-mode):
  * lisp/minibuffer.el (completion-in-region-mode):
  * lisp/scroll-lock.el (scroll-lock-mode):
  * lisp/simple.el (next-error-follow-minor-mode):
  * lisp/tar-mode.el (tar-subfile-mode):
  * lisp/tooltip.el (tooltip-mode):
  * lisp/vcursor.el (vcursor-use-vcursor-map):
  * lisp/wid-browse.el (widget-minor-mode):
  * lisp/emulation/tpu-edt.el (tpu-edt-mode):
  * lisp/emulation/tpu-extras.el (tpu-cursor-free-mode):
  * lisp/international/iso-ascii.el (iso-ascii-mode):
  * lisp/language/thai-util.el (thai-word-mode):
  * lisp/mail/supercite.el (sc-minor-mode):
  * lisp/net/goto-addr.el (goto-address-mode):
  * lisp/net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
  * lisp/progmodes/cwarn.el (cwarn-mode):
  * lisp/progmodes/flymake.el (flymake-mode):
  * lisp/progmodes/glasses.el (glasses-mode):
  * lisp/progmodes/hideshow.el (hs-minor-mode):
  * lisp/progmodes/pascal.el (pascal-outline-mode):
  * lisp/textmodes/enriched.el (enriched-mode):
  * lisp/vc/smerge-mode.el (smerge-mode):
  Doc fixes (minor mode argument).
  
  * etc/NEWS: Related markup.
modified:
  etc/NEWS
  lisp/ChangeLog
  lisp/completion.el
  lisp/dirtrack.el
  lisp/electric.el
  lisp/emulation/tpu-edt.el
  lisp/emulation/tpu-extras.el
  lisp/epa-mail.el
  lisp/face-remap.el
  lisp/iimage.el
  lisp/image-mode.el
  lisp/international/iso-ascii.el
  lisp/language/thai-util.el
  lisp/mail/supercite.el
  lisp/minibuffer.el
  lisp/net/goto-addr.el
  lisp/net/rcirc.el
  lisp/progmodes/cwarn.el
  lisp/progmodes/flymake.el
  lisp/progmodes/glasses.el
  lisp/progmodes/hideshow.el
  lisp/progmodes/pascal.el
  lisp/scroll-lock.el
  lisp/simple.el
  lisp/tar-mode.el
  lisp/textmodes/enriched.el
  lisp/tooltip.el
  lisp/url/url-dired.el
  lisp/vc/smerge-mode.el
  lisp/vcursor.el
  lisp/wid-browse.el
=== modified file 'etc/NEWS'
--- a/etc/NEWS  2012-02-07 08:26:54 +0000
+++ b/etc/NEWS  2012-02-08 02:12:24 +0000
@@ -1012,6 +1012,7 @@
 view-file has since Emacs 22 (ie, it won't enable View mode if the
 major-mode is special).
 
++++
 ** Passing a nil argument to a minor mode defined by define-minor-mode
 now turns the mode ON unconditionally.  This is so that you can write, e.g.
   (add-hook 'text-mode-hook 'foo-minor-mode)

=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2012-02-07 17:44:36 +0000
+++ b/lisp/ChangeLog    2012-02-08 02:12:24 +0000
@@ -1,3 +1,35 @@
+2012-02-08  Glenn Morris  <address@hidden>
+
+       * completion.el (dynamic-completion-mode):
+       * dirtrack.el (dirtrack-debug-mode):
+       * electric.el (electric-layout-mode):
+       * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
+       * face-remap.el (text-scale-mode, buffer-face-mode):
+       * iimage.el (iimage-mode):
+       * image-mode.el (image-transform-mode):
+       * minibuffer.el (completion-in-region-mode):
+       * scroll-lock.el (scroll-lock-mode):
+       * simple.el (next-error-follow-minor-mode):
+       * tar-mode.el (tar-subfile-mode):
+       * tooltip.el (tooltip-mode):
+       * vcursor.el (vcursor-use-vcursor-map):
+       * wid-browse.el (widget-minor-mode):
+       * emulation/tpu-edt.el (tpu-edt-mode):
+       * emulation/tpu-extras.el (tpu-cursor-free-mode):
+       * international/iso-ascii.el (iso-ascii-mode):
+       * language/thai-util.el (thai-word-mode):
+       * mail/supercite.el (sc-minor-mode):
+       * net/goto-addr.el (goto-address-mode):
+       * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
+       * progmodes/cwarn.el (cwarn-mode):
+       * progmodes/flymake.el (flymake-mode):
+       * progmodes/glasses.el (glasses-mode):
+       * progmodes/hideshow.el (hs-minor-mode):
+       * progmodes/pascal.el (pascal-outline-mode):
+       * textmodes/enriched.el (enriched-mode):
+       * vc/smerge-mode.el (smerge-mode):
+       Doc fixes (minor mode argument).
+
 2012-02-07  Eli Zaretskii  <address@hidden>
 
        * ls-lisp.el (ls-lisp-sanitize): New function.

=== modified file 'lisp/completion.el'
--- a/lisp/completion.el        2012-01-19 07:21:25 +0000
+++ b/lisp/completion.el        2012-02-08 02:12:24 +0000
@@ -2337,7 +2337,10 @@
 
 ;;;###autoload
 (define-minor-mode dynamic-completion-mode
-  "Enable dynamic word-completion."
+  "Toggle dynamic word-completion on or off.
+With a prefix argument ARG, enable the mode if ARG is positive,
+and disable it otherwise.  If called from Lisp, enable the mode
+if ARG is omitted or nil."
   :global t
   ;; This is always good, not specific to dynamic-completion-mode.
   (define-key function-key-map [C-return] [?\C-\r])

=== modified file 'lisp/dirtrack.el'
--- a/lisp/dirtrack.el  2012-01-19 07:21:25 +0000
+++ b/lisp/dirtrack.el  2012-02-08 02:12:24 +0000
@@ -203,7 +203,10 @@
 
 
 (define-minor-mode dirtrack-debug-mode
-  "Toggle Dirtrack debugging."
+  "Toggle Dirtrack debugging.
+With a prefix argument ARG, enable Dirtrack debugging if ARG is
+positive, and disable it otherwise.  If called from Lisp, enable
+the mode if ARG is omitted or nil."
   nil nil nil
   (if dirtrack-debug-mode
       (display-buffer (get-buffer-create dirtrack-debug-buffer))))

=== modified file 'lisp/electric.el'
--- a/lisp/electric.el  2012-01-19 07:21:25 +0000
+++ b/lisp/electric.el  2012-02-08 02:12:24 +0000
@@ -404,7 +404,10 @@
 
 ;;;###autoload
 (define-minor-mode electric-layout-mode
-  "Automatically insert newlines around some chars."
+  "Automatically insert newlines around some chars.
+With a prefix argument ARG, enable Electric Layout mode if ARG is
+positive, and disable it otherwise.  If called from Lisp, enable
+the mode if ARG is omitted or nil."
   :global t
   :group 'electricity
   (if electric-layout-mode

=== modified file 'lisp/emulation/tpu-edt.el'
--- a/lisp/emulation/tpu-edt.el 2012-01-19 07:21:25 +0000
+++ b/lisp/emulation/tpu-edt.el 2012-02-08 02:12:24 +0000
@@ -979,7 +979,10 @@
 ;;;
 ;;;###autoload
 (define-minor-mode tpu-edt-mode
-  "TPU/edt emulation."
+  "Toggle TPU/edt emulation on or off.
+With a prefix argument ARG, enable the mode if ARG is positive,
+and disable it otherwise.  If called from Lisp, enable the mode
+if ARG is omitted or nil."
   :global t
   (if tpu-edt-mode (tpu-edt-on) (tpu-edt-off)))
 

=== modified file 'lisp/emulation/tpu-extras.el'
--- a/lisp/emulation/tpu-extras.el      2012-01-19 07:21:25 +0000
+++ b/lisp/emulation/tpu-extras.el      2012-02-08 02:12:24 +0000
@@ -132,7 +132,10 @@
 
 ;;;###autoload
 (define-minor-mode tpu-cursor-free-mode
-  "Minor mode to allow the cursor to move freely about the screen."
+  "Minor mode to allow the cursor to move freely about the screen.
+With a prefix argument ARG, enable the mode if ARG is positive,
+and disable it otherwise.  If called from Lisp, enable the mode
+if ARG is omitted or nil."
   :init-value nil
   (if (not tpu-cursor-free-mode)
       (tpu-trim-line-ends))

=== modified file 'lisp/epa-mail.el'
--- a/lisp/epa-mail.el  2012-01-19 07:21:25 +0000
+++ b/lisp/epa-mail.el  2012-02-08 02:12:24 +0000
@@ -47,7 +47,10 @@
 
 ;;;###autoload
 (define-minor-mode epa-mail-mode
-  "A minor-mode for composing encrypted/clearsigned mails."
+  "A minor-mode for composing encrypted/clearsigned mails.
+With a prefix argument ARG, enable the mode if ARG is positive,
+and disable it otherwise.  If called from Lisp, enable the mode
+if ARG is omitted or nil."
   nil " epa-mail" epa-mail-mode-map)
 
 (defun epa-mail--find-usable-key (keys usage)
@@ -202,7 +205,10 @@
 
 ;;;###autoload
 (define-minor-mode epa-global-mail-mode
-  "Minor mode to hook EasyPG into Mail mode."
+  "Minor mode to hook EasyPG into Mail mode.
+With a prefix argument ARG, enable the mode if ARG is positive,
+and disable it otherwise.  If called from Lisp, enable the mode
+if ARG is omitted or nil."
   :global t :init-value nil :group 'epa-mail :version "23.1"
   (remove-hook 'mail-mode-hook 'epa-mail-mode)
   (if epa-global-mail-mode

=== modified file 'lisp/face-remap.el'
--- a/lisp/face-remap.el        2012-01-19 07:21:25 +0000
+++ b/lisp/face-remap.el        2012-02-08 02:12:24 +0000
@@ -205,6 +205,9 @@
 
 (define-minor-mode text-scale-mode
   "Minor mode for displaying buffer text in a larger/smaller font.
+With a prefix argument ARG, enable the mode if ARG is positive,
+and disable it otherwise.  If called from Lisp, enable the mode
+if ARG is omitted or nil.
 
 The amount of scaling is determined by the variable
 `text-scale-mode-amount': one step scales the global default
@@ -334,8 +337,10 @@
 ;;;###autoload
 (define-minor-mode buffer-face-mode
   "Minor mode for a buffer-specific default face.
-When enabled, the face specified by the variable
-`buffer-face-mode-face' is used to display the buffer text."
+With a prefix argument ARG, enable the mode if ARG is positive,
+and disable it otherwise.  If called from Lisp, enable the mode
+if ARG is omitted or nil.  When enabled, the face specified by the
+variable `buffer-face-mode-face' is used to display the buffer text."
   :lighter " BufFace"
   (when buffer-face-mode-remapping
     (face-remap-remove-relative buffer-face-mode-remapping))

=== modified file 'lisp/iimage.el'
--- a/lisp/iimage.el    2012-01-19 07:21:25 +0000
+++ b/lisp/iimage.el    2012-02-08 02:12:24 +0000
@@ -137,8 +137,7 @@
                                         '(display modification-hooks))))))))))
 
 ;;;###autoload
-(define-minor-mode iimage-mode
-  "Toggle inline image minor mode."
+(define-minor-mode iimage-mode nil
   :group 'iimage :lighter " iImg" :keymap iimage-mode-map
   (iimage-mode-buffer iimage-mode))
 

=== modified file 'lisp/image-mode.el'
--- a/lisp/image-mode.el        2012-02-03 08:44:30 +0000
+++ b/lisp/image-mode.el        2012-02-08 02:12:24 +0000
@@ -619,8 +619,10 @@
 
 (define-minor-mode image-transform-mode
   "Minor mode for scaling and rotating images.
-This minor mode has no effect unless Emacs is compiled with
-ImageMagick support."
+With a prefix argument ARG, enable the mode if ARG is positive,
+and disable it otherwise.  If called from Lisp, enable the mode
+if ARG is omitted or nil.  This minor mode requires Emacs to have
+been compiled with ImageMagick support."
   nil "image-transform" image-transform-minor-mode-map)
 
 (defvar image-transform-resize nil

=== modified file 'lisp/international/iso-ascii.el'
--- a/lisp/international/iso-ascii.el   2012-01-19 07:21:25 +0000
+++ b/lisp/international/iso-ascii.el   2012-02-08 02:12:24 +0000
@@ -1,6 +1,6 @@
 ;;; iso-ascii.el --- set up char tables for ISO 8859/1 on ASCII terminals
 
-;; Copyright (C) 1987, 1995, 1998, 2001-2012  Free Software Foundation, Inc.
+;; Copyright (C) 1987, 1995, 1998, 2001-2012 Free Software Foundation, Inc.
 
 ;; Author: Howard Gayle
 ;; Maintainer: FSF
@@ -163,7 +163,10 @@
 (iso-ascii-display 255 "\"y") ; small y with diaeresis or umlaut mark
 
 (define-minor-mode iso-ascii-mode
-  "Toggle ISO-ASCII mode."
+  "Toggle ISO-ASCII mode.
+With a prefix argument ARG, enable the mode if ARG is positive,
+and disable it otherwise.  If called from Lisp, enable the mode
+if ARG is omitted or nil."
   :variable (eq standard-display-table iso-ascii-display-table)
   (unless standard-display-table
     (setq standard-display-table iso-ascii-standard-display-table)))

=== modified file 'lisp/language/thai-util.el'
--- a/lisp/language/thai-util.el        2012-01-19 07:21:25 +0000
+++ b/lisp/language/thai-util.el        2012-02-08 02:12:24 +0000
@@ -1,6 +1,6 @@
 ;;; thai-util.el --- utilities for Thai -*- coding: utf-8; -*-
 
-;; Copyright (C) 2000-2012  Free Software Foundation, Inc.
+;; Copyright (C) 2000-2012 Free Software Foundation, Inc.
 ;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
 ;;   2005, 2006, 2007, 2008, 2009, 2010, 2011
 ;;   National Institute of Advanced Industrial Science and Technology (AIST)
@@ -257,7 +257,11 @@
 
 (define-minor-mode thai-word-mode
   "Minor mode to make word-oriented commands aware of Thai words.
-The commands affected are \\[forward-word], \\[backward-word], \\[kill-word], 
\\[backward-kill-word], \\[transpose-words], and \\[fill-paragraph]."
+With a prefix argument ARG, enable the mode if ARG is positive,
+and disable it otherwise.  If called from Lisp, enable the mode
+if ARG is omitted or nil.  The commands affected are
+\\[forward-word], \\[backward-word], \\[kill-word], \\[backward-kill-word],
+\\[transpose-words], and \\[fill-paragraph]."
   :global t :group 'mule
   (cond (thai-word-mode
         ;; This enables linebreak between Thai characters.

=== modified file 'lisp/mail/supercite.el'
--- a/lisp/mail/supercite.el    2012-01-19 07:21:25 +0000
+++ b/lisp/mail/supercite.el    2012-02-08 02:12:24 +0000
@@ -1,6 +1,6 @@
 ;;; supercite.el --- minor mode for citing mail and news replies
 
-;; Copyright (C) 1993, 1997, 2001-2012  Free Software Foundation, Inc.
+;; Copyright (C) 1993, 1997, 2001-2012 Free Software Foundation, Inc.
 
 ;; Author: 1993 Barry A. Warsaw <address@hidden>
 ;; Maintainer:    Glenn Morris <address@hidden>
@@ -1847,8 +1847,7 @@
 ;; ======================================================================
 ;; published interface to mail and news readers
 
-(define-minor-mode sc-minor-mode
-  "Supercite minor mode."
+(define-minor-mode sc-minor-mode nil
   :group 'supercite
   :lighter (" SC" (sc-auto-fill-region-p
                   (":f" (sc-fixup-whitespace-p "w"))

=== modified file 'lisp/minibuffer.el'
--- a/lisp/minibuffer.el        2012-01-19 07:21:25 +0000
+++ b/lisp/minibuffer.el        2012-02-08 02:12:24 +0000
@@ -1515,7 +1515,10 @@
 ;; (defalias 'completion-in-region--prech 'completion-in-region--postch)
 
 (define-minor-mode completion-in-region-mode
-  "Transient minor mode used during `completion-in-region'."
+  "Transient minor mode used during `completion-in-region'.
+With a prefix argument ARG, enable the modemode if ARG is
+positive, and disable it otherwise.  If called from Lisp, enable
+the mode if ARG is omitted or nil."
   :global t
   (setq completion-in-region--data nil)
   ;; (remove-hook 'pre-command-hook #'completion-in-region--prech)

=== modified file 'lisp/net/goto-addr.el'
--- a/lisp/net/goto-addr.el     2012-01-19 07:21:25 +0000
+++ b/lisp/net/goto-addr.el     2012-02-08 02:12:24 +0000
@@ -275,7 +275,10 @@
 
 ;;;###autoload
 (define-minor-mode goto-address-mode
-  "Minor mode to buttonize URLs and e-mail addresses in the current buffer."
+  "Minor mode to buttonize URLs and e-mail addresses in the current buffer.
+With a prefix argument ARG, enable the mode if ARG is positive,
+and disable it otherwise.  If called from Lisp, enable the mode
+if ARG is omitted or nil."
   nil
   ""
   nil

=== modified file 'lisp/net/rcirc.el'
--- a/lisp/net/rcirc.el 2012-01-19 07:21:25 +0000
+++ b/lisp/net/rcirc.el 2012-02-08 02:12:24 +0000
@@ -1,6 +1,6 @@
 ;;; rcirc.el --- default, simple IRC client.
 
-;; Copyright (C) 2005-2012  Free Software Foundation, Inc.
+;; Copyright (C) 2005-2012 Free Software Foundation, Inc.
 
 ;; Author: Ryan Yeske <address@hidden>
 ;; Maintainers: Ryan Yeske <address@hidden>,
@@ -1261,7 +1261,10 @@
   "Keymap for multiline mode in rcirc.")
 
 (define-minor-mode rcirc-multiline-minor-mode
-  "Minor mode for editing multiple lines in rcirc."
+  "Minor mode for editing multiple lines in rcirc.
+With a prefix argument ARG, enable the mode if ARG is positive,
+and disable it otherwise.  If called from Lisp, enable the mode
+if ARG is omitted or nil."
   :init-value nil
   :lighter " rcirc-mline"
   :keymap rcirc-multiline-minor-mode-map
@@ -1779,7 +1782,10 @@
 
 ;;;###autoload
 (define-minor-mode rcirc-track-minor-mode
-  "Global minor mode for tracking activity in rcirc buffers."
+  "Global minor mode for tracking activity in rcirc buffers.
+With a prefix argument ARG, enable the mode if ARG is positive,
+and disable it otherwise.  If called from Lisp, enable the mode
+if ARG is omitted or nil."
   :init-value nil
   :lighter ""
   :keymap rcirc-track-minor-mode-map

=== modified file 'lisp/progmodes/cwarn.el'
--- a/lisp/progmodes/cwarn.el   2012-01-31 02:57:00 +0000
+++ b/lisp/progmodes/cwarn.el   2012-02-08 02:12:24 +0000
@@ -1,6 +1,6 @@
 ;;; cwarn.el --- highlight suspicious C and C++ constructions
 
-;; Copyright (C) 1999-2012  Free Software Foundation, Inc.
+;; Copyright (C) 1999-2012 Free Software Foundation, Inc.
 
 ;; Author: Anders Lindgren <address@hidden>
 ;; Keywords: c, languages, faces
@@ -191,7 +191,9 @@
 be included in the variable `cwarn-configuration'.  By default C and
 C++ modes are included.
 
-With ARG, turn CWarn mode on if and only if arg is positive."
+With a prefix argument ARG, enable the mode if ARG is positive,
+and disable it otherwise.  If called from Lisp, enable the mode
+if ARG is omitted or nil."
   :group 'cwarn :lighter cwarn-mode-text
   (cwarn-font-lock-keywords cwarn-mode)
   (if font-lock-mode (font-lock-fontify-buffer)))

=== modified file 'lisp/progmodes/flymake.el'
--- a/lisp/progmodes/flymake.el 2012-01-19 07:21:25 +0000
+++ b/lisp/progmodes/flymake.el 2012-02-08 02:12:24 +0000
@@ -1,6 +1,6 @@
 ;;; flymake.el -- a universal on-the-fly syntax checker
 
-;; Copyright (C) 2003-2012  Free Software Foundation, Inc.
+;; Copyright (C) 2003-2012 Free Software Foundation, Inc.
 
 ;; Author:  Pavel Kobyakov <address@hidden>
 ;; Maintainer: Pavel Kobyakov <address@hidden>
@@ -1331,9 +1331,10 @@
 
 ;;;###autoload
 (define-minor-mode flymake-mode
-  "Minor mode to do on-the-fly syntax checking.
-When called interactively, toggles the minor mode.
-With arg, turn Flymake mode on if and only if arg is positive."
+  "Toggle on-the-fly syntax checking.
+With a prefix argument ARG, enable the mode if ARG is positive,
+and disable it otherwise.  If called from Lisp, enable the mode
+if ARG is omitted or nil."
   :group 'flymake :lighter flymake-mode-line
   (cond
 

=== modified file 'lisp/progmodes/glasses.el'
--- a/lisp/progmodes/glasses.el 2012-01-19 07:21:25 +0000
+++ b/lisp/progmodes/glasses.el 2012-02-08 02:12:24 +0000
@@ -1,6 +1,6 @@
 ;;; glasses.el --- make cantReadThis readable
 
-;; Copyright (C) 1999-2012  Free Software Foundation, Inc.
+;; Copyright (C) 1999-2012 Free Software Foundation, Inc.
 
 ;; Author: Milan Zamazal <address@hidden>
 ;; Maintainer: Milan Zamazal <address@hidden>
@@ -316,8 +316,10 @@
 ;;;###autoload
 (define-minor-mode glasses-mode
   "Minor mode for making identifiers likeThis readable.
-When this mode is active, it tries to add virtual separators (like underscores)
-at places they belong to."
+With a prefix argument ARG, enable the mode if ARG is positive,
+and disable it otherwise.  If called from Lisp, enable the mode
+if ARG is omitted or nil.  When this mode is active, it tries to
+add virtual separators (like underscores) at places they belong to."
   :group 'glasses :lighter " o^o"
   (save-excursion
     (save-restriction

=== modified file 'lisp/progmodes/hideshow.el'
--- a/lisp/progmodes/hideshow.el        2012-01-19 07:21:25 +0000
+++ b/lisp/progmodes/hideshow.el        2012-02-08 02:12:24 +0000
@@ -1,6 +1,6 @@
 ;;; hideshow.el --- minor mode cmds to selectively display code/comment blocks
 
-;; Copyright (C) 1994-2012  Free Software Foundation, Inc.
+;; Copyright (C) 1994-2012 Free Software Foundation, Inc.
 
 ;; Author: Thien-Thi Nguyen <address@hidden>
 ;;      Dan Nicolaescu <address@hidden>
@@ -928,6 +928,10 @@
 ;;;###autoload
 (define-minor-mode hs-minor-mode
   "Minor mode to selectively hide/show code and comment blocks.
+With a prefix argument ARG, enable the mode if ARG is positive,
+and disable it otherwise.  If called from Lisp, enable the mode
+if ARG is omitted or nil.
+
 When hideshow minor mode is on, the menu bar is augmented with hideshow
 commands and the hideshow commands are enabled.
 The value '(hs . t) is added to `buffer-invisibility-spec'.

=== modified file 'lisp/progmodes/pascal.el'
--- a/lisp/progmodes/pascal.el  2012-01-19 07:21:25 +0000
+++ b/lisp/progmodes/pascal.el  2012-02-08 02:12:24 +0000
@@ -1,6 +1,6 @@
 ;;; pascal.el --- major mode for editing pascal source in Emacs -*- 
lexical-binding: t -*-
 
-;; Copyright (C) 1993-2012  Free Software Foundation, Inc.
+;; Copyright (C) 1993-2012 Free Software Foundation, Inc.
 
 ;; Author: Espen Skoglund <address@hidden>
 ;; Keywords: languages
@@ -1394,8 +1394,12 @@
 (define-obsolete-function-alias 'pascal-outline 'pascal-outline-mode "22.1")
 (define-minor-mode pascal-outline-mode
   "Outline-line minor mode for Pascal mode.
-When in Pascal Outline mode, portions
-of the text being edited may be made invisible. \\<pascal-outline-map>
+With a prefix argument ARG, enable the mode if ARG is positive,
+and disable it otherwise.  If called from Lisp, enable the mode
+if ARG is omitted or nil.
+
+When enabled, portions of the text being edited may be made
+invisible. \\<pascal-outline-map>
 
 Pascal Outline mode provides some additional commands.
 

=== modified file 'lisp/scroll-lock.el'
--- a/lisp/scroll-lock.el       2012-01-19 07:21:25 +0000
+++ b/lisp/scroll-lock.el       2012-02-08 02:12:24 +0000
@@ -49,10 +49,12 @@
 ;;;###autoload
 (define-minor-mode scroll-lock-mode
   "Buffer-local minor mode for pager-like scrolling.
-Keys which normally move point by line or paragraph will scroll
-the buffer by the respective amount of lines instead and point
-will be kept vertically fixed relative to window boundaries
-during scrolling."
+With a prefix argument ARG, enable the mode if ARG is positive,
+and disable it otherwise.  If called from Lisp, enable the mode
+if ARG is omitted or nil.  When enabled, keys that normally move
+point by line or paragraph will scroll the buffer by the
+respective amount of lines instead and point will be kept
+vertically fixed relative to window boundaries during scrolling."
   :lighter " ScrLck"
   :keymap scroll-lock-mode-map
   (if scroll-lock-mode

=== modified file 'lisp/simple.el'
--- a/lisp/simple.el    2012-02-06 14:40:10 +0000
+++ b/lisp/simple.el    2012-02-08 02:12:24 +0000
@@ -321,9 +321,11 @@
 
 (define-minor-mode next-error-follow-minor-mode
   "Minor mode for compilation, occur and diff modes.
+With a prefix argument ARG, enable mode if ARG is positive, and
+disable it otherwise.  If called from Lisp, enable mode if ARG is
+omitted or nil.
 When turned on, cursor motion in the compilation, grep, occur or diff
-buffer causes automatic display of the corresponding source code
-location."
+buffer causes automatic display of the corresponding source code location."
   :group 'next-error :init-value nil :lighter " Fol"
   (if (not next-error-follow-minor-mode)
       (remove-hook 'post-command-hook 
'next-error-follow-mode-post-command-hook t)

=== modified file 'lisp/tar-mode.el'
--- a/lisp/tar-mode.el  2012-01-19 07:21:25 +0000
+++ b/lisp/tar-mode.el  2012-02-08 02:12:24 +0000
@@ -1,6 +1,6 @@
 ;;; tar-mode.el --- simple editing of tar files from GNU Emacs
 
-;; Copyright (C) 1990-1991, 1993-2012  Free Software Foundation, Inc.
+;; Copyright (C) 1990-1991, 1993-2012 Free Software Foundation, Inc.
 
 ;; Author: Jamie Zawinski <address@hidden>
 ;; Maintainer: FSF
@@ -677,9 +677,12 @@
 
 (define-minor-mode tar-subfile-mode
   "Minor mode for editing an element of a tar-file.
-This mode arranges for \"saving\" this buffer to write the data
-into the tar-file buffer that it came from.  The changes will actually
-appear on disk when you save the tar-file's buffer."
+With a prefix argument ARG, enable the mode if ARG is positive,
+and disable it otherwise.  If called from Lisp, enable the mode
+if ARG is omitted or nil.  This mode arranges for \"saving\" this
+buffer to write the data into the tar-file buffer that it came
+from.  The changes will actually appear on disk when you save the
+tar-file's buffer."
   ;; Don't do this, because it is redundant and wastes mode line space.
   ;; :lighter " TarFile"
   nil nil nil

=== modified file 'lisp/textmodes/enriched.el'
--- a/lisp/textmodes/enriched.el        2012-01-19 07:21:25 +0000
+++ b/lisp/textmodes/enriched.el        2012-02-08 02:12:24 +0000
@@ -1,6 +1,6 @@
 ;;; enriched.el --- read and save files in text/enriched format
 
-;; Copyright (C) 1994-1996, 2001-2012  Free Software Foundation, Inc.
+;; Copyright (C) 1994-1996, 2001-2012 Free Software Foundation, Inc.
 
 ;; Author: Boris Goldowsky <address@hidden>
 ;; Keywords: wp, faces
@@ -191,6 +191,11 @@
   "Minor mode for editing text/enriched files.
 These are files with embedded formatting information in the MIME standard
 text/enriched format.
+
+With a prefix argument ARG, enable the mode if ARG is positive,
+and disable it otherwise.  If called from Lisp, enable the mode
+if ARG is omitted or nil.
+
 Turning the mode on or off runs `enriched-mode-hook'.
 
 More information about Enriched mode is available in the file

=== modified file 'lisp/tooltip.el'
--- a/lisp/tooltip.el   2012-01-28 05:02:02 +0000
+++ b/lisp/tooltip.el   2012-02-08 02:12:24 +0000
@@ -40,7 +40,9 @@
 
 (define-minor-mode tooltip-mode
   "Toggle Tooltip mode.
-With ARG, turn Tooltip mode on if and only if ARG is positive.
+With a prefix argument ARG, enable Tooltip mode if ARG is positive,
+and disable it otherwise.  If called from Lisp, enable the mode
+if ARG is omitted or nil.
 
 When this global minor mode is enabled, Emacs displays help
 text (e.g. for buttons and menu items that you put the mouse on)

=== modified file 'lisp/url/url-dired.el'
--- a/lisp/url/url-dired.el     2012-01-19 07:21:25 +0000
+++ b/lisp/url/url-dired.el     2012-02-08 02:12:24 +0000
@@ -43,7 +43,10 @@
   (url-dired-find-file))
 
 (define-minor-mode url-dired-minor-mode
-  "Minor mode for directory browsing."
+  "Minor mode for directory browsing.
+With a prefix argument ARG, enable the mode if ARG is positive,
+and disable it otherwise.  If called from Lisp, enable the mode
+if ARG is omitted or nil."
   :lighter " URL" :keymap url-dired-minor-mode-map)
 
 (defun url-find-file-dired (dir)

=== modified file 'lisp/vc/smerge-mode.el'
--- a/lisp/vc/smerge-mode.el    2012-01-19 07:21:25 +0000
+++ b/lisp/vc/smerge-mode.el    2012-02-08 02:12:24 +0000
@@ -1266,6 +1266,9 @@
 ;;;###autoload
 (define-minor-mode smerge-mode
   "Minor mode to simplify editing output from the diff3 program.
+With a prefix argument ARG, enable the mode if ARG is positive,
+and disable it otherwise.  If called from Lisp, enable the mode
+if ARG is omitted or nil.
 \\{smerge-mode-map}"
   :group 'smerge :lighter " SMerge"
   (when (and (boundp 'font-lock-mode) font-lock-mode)

=== modified file 'lisp/vcursor.el'
--- a/lisp/vcursor.el   2012-01-19 07:21:25 +0000
+++ b/lisp/vcursor.el   2012-02-08 02:12:24 +0000
@@ -813,6 +813,8 @@
 
 (define-minor-mode vcursor-use-vcursor-map
   "Toggle the state of the vcursor key map.
+With a prefix argument ARG, enable it if ARG is positive, and disable
+it otherwise.  If called from Lisp, enable it if ARG is omitted or nil.
 When on, the keys defined in it are mapped directly on top of the main
 keymap, allowing you to move the vcursor with ordinary motion keys.
 An indication \"!VC\" appears in the mode list.  The effect is

=== modified file 'lisp/wid-browse.el'
--- a/lisp/wid-browse.el        2012-01-19 07:21:25 +0000
+++ b/lisp/wid-browse.el        2012-02-08 02:12:24 +0000
@@ -270,7 +270,10 @@
 
 ;;;###autoload
 (define-minor-mode widget-minor-mode
-  "Minor mode for traversing widgets."
+  "Minor mode for traversing widgets.
+With a prefix argument ARG, enable the mode if ARG is positive,
+and disable it otherwise.  If called from Lisp, enable the mode
+if ARG is omitted or nil."
   :lighter " Widget")
 
 ;;; The End:


reply via email to

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