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 [lexbind]


From: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/lisp/abbrev.el [lexbind]
Date: Tue, 06 Jul 2004 07:07:35 -0400

Index: emacs/lisp/abbrev.el
diff -c emacs/lisp/abbrev.el:1.30.4.3 emacs/lisp/abbrev.el:1.30.4.4
*** emacs/lisp/abbrev.el:1.30.4.3       Sat Feb 28 05:41:58 2004
--- emacs/lisp/abbrev.el        Tue Jul  6 10:10:46 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]