emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lisp/expand.el,v


From: Eli Zaretskii
Subject: [Emacs-diffs] Changes to emacs/lisp/expand.el,v
Date: Sat, 24 Mar 2007 16:39:43 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Eli Zaretskii <eliz>    07/03/24 16:39:43

Index: expand.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/expand.el,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- expand.el   21 Jan 2007 03:53:11 -0000      1.17
+++ expand.el   24 Mar 2007 16:39:43 -0000      1.18
@@ -51,17 +51,17 @@
 ;;
 ;;   and enter Abbrev mode with the following hook :
 ;;
-;; (add-hook 'c-mode-hook (function (lambda ()
+;; (add-hook 'c-mode-hook
+;;       (lambda ()
 ;;                                (expand-add-abbrevs c-mode-abbrev-table 
c-expand-list)
-;;                                (abbrev-mode))))
+;;         (abbrev-mode 1)))
 ;;
 ;;   you can also init some post-process hooks :
 ;;
 ;; (add-hook 'expand-load-hook
-;;       (function
 ;;        (lambda ()
 ;;          (add-hook 'expand-expand-hook 'indent-according-to-mode)
-;;          (add-hook 'expand-jump-hook 'indent-according-to-mode))))
+;;         (add-hook 'expand-jump-hook 'indent-according-to-mode)))
 ;;
 ;; Remarks:
 ;;
@@ -336,6 +336,7 @@
       'expand-abbrev-hook)))
 
 (put 'expand-abbrev-hook 'no-self-insert t)
+;;;###autoload
 (defun expand-abbrev-hook ()
   "Abbrev hook used to do the expansion job of expand abbrevs.
 See `expand-add-abbrevs'.  Value is non-nil if expansion was done."




reply via email to

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