emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] trunk r116204: Replace refs to obsolete alias `turn-on-eld


From: Glenn Morris
Subject: [Emacs-diffs] trunk r116204: Replace refs to obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'
Date: Thu, 30 Jan 2014 07:43:14 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 116204
revision-id: address@hidden
parent: address@hidden
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Wed 2014-01-29 23:42:57 -0800
message:
  Replace refs to obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'
  
  * lisp/hexl.el (hexl-mode-hook):
  * lisp/ielm.el (ielm-mode-hook):
  * lisp/emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
  (lisp-interaction-mode-hook):
  * lisp/progmodes/cfengine.e (cfengine3-documentation-function):
  Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
  
  * lisp/emacs-lisp/eldoc.el: Same in commentary.
modified:
  lisp/ChangeLog                 changelog-20091113204419-o5vbwnq5f7feedwu-1432
  lisp/emacs-lisp/eldoc.el       eldoc.el-20091113204419-o5vbwnq5f7feedwu-952
  lisp/emacs-lisp/lisp-mode.el   lispmode.el-20091113204419-o5vbwnq5f7feedwu-205
  lisp/hexl.el                   hexl.el-20091113204419-o5vbwnq5f7feedwu-70
  lisp/ielm.el                   ielm.el-20091113204419-o5vbwnq5f7feedwu-770
  lisp/progmodes/cfengine.el     
cfengine.el-20091113204419-o5vbwnq5f7feedwu-2944
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2014-01-30 04:02:28 +0000
+++ b/lisp/ChangeLog    2014-01-30 07:42:57 +0000
@@ -1,3 +1,12 @@
+2014-01-30  Glenn Morris  <address@hidden>
+
+       * hexl.el (hexl-mode-hook):
+       * ielm.el (ielm-mode-hook):
+       * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
+       (lisp-interaction-mode-hook):
+       * progmodes/cfengine.e (cfengine3-documentation-function):
+       Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
+
 2014-01-30  Stefan Monnier  <address@hidden>
 
        * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'

=== modified file 'lisp/emacs-lisp/eldoc.el'
--- a/lisp/emacs-lisp/eldoc.el  2014-01-21 13:09:55 +0000
+++ b/lisp/emacs-lisp/eldoc.el  2014-01-30 07:42:57 +0000
@@ -36,9 +36,9 @@
 ;; One useful way to enable this minor mode is to put the following in your
 ;; .emacs:
 ;;
-;;      (add-hook 'emacs-lisp-mode-hook 'turn-on-eldoc-mode)
-;;      (add-hook 'lisp-interaction-mode-hook 'turn-on-eldoc-mode)
-;;      (add-hook 'ielm-mode-hook 'turn-on-eldoc-mode)
+;;      (add-hook 'emacs-lisp-mode-hook 'eldoc-mode)
+;;      (add-hook 'lisp-interaction-mode-hook 'eldoc-mode)
+;;      (add-hook 'ielm-mode-hook 'eldoc-mode)
 
 ;; Major modes for other languages may use ElDoc by defining an
 ;; appropriate function as the buffer-local value of

=== modified file 'lisp/emacs-lisp/lisp-mode.el'
--- a/lisp/emacs-lisp/lisp-mode.el      2014-01-23 07:53:56 +0000
+++ b/lisp/emacs-lisp/lisp-mode.el      2014-01-30 07:42:57 +0000
@@ -681,7 +681,7 @@
 
 (defcustom emacs-lisp-mode-hook nil
   "Hook run when entering Emacs Lisp mode."
-  :options '(turn-on-eldoc-mode imenu-add-menubar-index checkdoc-minor-mode)
+  :options '(eldoc-mode imenu-add-menubar-index checkdoc-minor-mode)
   :type 'hook
   :group 'lisp)
 
@@ -693,7 +693,7 @@
 
 (defcustom lisp-interaction-mode-hook nil
   "Hook run when entering Lisp Interaction mode."
-  :options '(turn-on-eldoc-mode)
+  :options '(eldoc-mode)
   :type 'hook
   :group 'lisp)
 

=== modified file 'lisp/hexl.el'
--- a/lisp/hexl.el      2014-01-01 07:43:34 +0000
+++ b/lisp/hexl.el      2014-01-30 07:42:57 +0000
@@ -1,7 +1,6 @@
 ;;; hexl.el --- edit a file in a hex dump format using the hexl filter -*- 
lexical-binding: t -*-
 
-;; Copyright (C) 1989, 1994, 1998, 2001-2014 Free Software Foundation,
-;; Inc.
+;; Copyright (C) 1989, 1994, 1998, 2001-2014 Free Software Foundation, Inc.
 
 ;; Author: Keith Gabryelski <address@hidden>
 ;; Maintainer: FSF
@@ -91,7 +90,7 @@
 (defcustom hexl-mode-hook '(hexl-follow-line hexl-activate-ruler)
   "Normal hook run when entering Hexl mode."
   :type 'hook
-  :options '(hexl-follow-line hexl-activate-ruler turn-on-eldoc-mode)
+  :options '(hexl-follow-line hexl-activate-ruler eldoc-mode)
   :group 'hexl)
 
 (defface hexl-address-region

=== modified file 'lisp/ielm.el'
--- a/lisp/ielm.el      2014-01-03 05:10:52 +0000
+++ b/lisp/ielm.el      2014-01-30 07:42:57 +0000
@@ -118,7 +118,7 @@
 
 (defcustom ielm-mode-hook nil
   "Hooks to be run when IELM (`inferior-emacs-lisp-mode') is started."
-  :options '(turn-on-eldoc-mode)
+  :options '(eldoc-mode)
   :type 'hook
   :group 'ielm)
 (defvaralias 'inferior-emacs-lisp-mode-hook 'ielm-mode-hook)

=== modified file 'lisp/progmodes/cfengine.el'
--- a/lisp/progmodes/cfengine.el        2014-01-01 07:43:34 +0000
+++ b/lisp/progmodes/cfengine.el        2014-01-30 07:42:57 +0000
@@ -47,7 +47,7 @@
 
 ;; It's *highly* recommended that you enable the eldoc minor mode:
 
-;; (add-hook 'cfengine3-mode-hook 'turn-on-eldoc-mode)
+;; (add-hook 'cfengine3-mode-hook 'eldoc-mode)
 
 ;; This is not the same as the mode written by Rolf Ebert
 ;; <address@hidden>, distributed with cfengine-2.0.5.  It does
@@ -1257,8 +1257,8 @@
 
 (defun cfengine3-documentation-function ()
   "Document CFengine 3 functions around point.
-Intended as the value of `eldoc-documentation-function', which
-see.  Use it by executing `turn-on-eldoc-mode'."
+Intended as the value of `eldoc-documentation-function', which see.
+Use it by enabling `eldoc-mode'."
   (let ((fdef (cfengine3--current-function)))
     (when fdef
       (cfengine3-format-function-docstring fdef))))


reply via email to

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