emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lisp/abbrev.el


From: Richard M . Stallman
Subject: [Emacs-diffs] Changes to emacs/lisp/abbrev.el
Date: Sun, 13 Jun 2004 17:57:26 -0400

Index: emacs/lisp/abbrev.el
diff -c emacs/lisp/abbrev.el:1.36 emacs/lisp/abbrev.el:1.37
*** emacs/lisp/abbrev.el:1.36   Tue Feb 24 03:25:33 2004
--- emacs/lisp/abbrev.el        Sun Jun 13 21:55:49 2004
***************
*** 37,45 ****
    :group 'convenience)
  
  (defun abbrev-mode (&optional arg)
!   "Toggle abbrev mode.
  With argument ARG, turn abbrev mode on iff ARG is positive.
! In abbrev mode, inserting an abbreviation causes it to expand
  and be replaced by its expansion."
    (interactive "P")
    (setq abbrev-mode
--- 37,45 ----
    :group 'convenience)
  
  (defun abbrev-mode (&optional arg)
!   "Toggle Abbrev mode in the current buffer.
  With argument ARG, turn abbrev mode on iff ARG is positive.
! In Abbrev mode, inserting an abbreviation causes it to expand
  and be replaced by its expansion."
    (interactive "P")
    (setq abbrev-mode
***************
*** 48,65 ****
    (force-mode-line-update))
  
  (defcustom abbrev-mode nil
!   "Toggle abbrev mode.
  Non-nil means automatically expand abbrevs as they are inserted.
  
  Changing it with \\[customize] sets the default value.
! Use the command `abbrev-mode' to enable or disable Abbrev mode in the current
! buffer."
    :type 'boolean
    :group 'abbrev-mode)
  
  
  (defvar edit-abbrevs-map nil
!   "Keymap used in edit-abbrevs.")
  (if edit-abbrevs-map
      nil
    (setq edit-abbrevs-map (make-sparse-keymap))
--- 48,66 ----
    (force-mode-line-update))
  
  (defcustom abbrev-mode nil
!   "Enable or disable Abbrev mode.
  Non-nil means automatically expand abbrevs as they are inserted.
  
+ Setting this variable with `setq' changes it for the current buffer.
  Changing it with \\[customize] sets the default value.
! Interactively, use the command `abbrev-mode'
! to enable or disable Abbrev mode in the current buffer."
    :type 'boolean
    :group 'abbrev-mode)
  
  
  (defvar edit-abbrevs-map nil
!   "Keymap used in `edit-abbrevs'.")
  (if edit-abbrevs-map
      nil
    (setq edit-abbrevs-map (make-sparse-keymap))




reply via email to

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