emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs-26 6bcb48c: Replace some obsolete aliases in documen


From: Glenn Morris
Subject: [Emacs-diffs] emacs-26 6bcb48c: Replace some obsolete aliases in documentation
Date: Wed, 7 Mar 2018 15:42:22 -0500 (EST)

branch: emacs-26
commit 6bcb48cf274fb1dd290b305e0ef01fbc1dbbaf66
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>

    Replace some obsolete aliases in documentation
    
    * doc/misc/efaq-w32.texi (Incoming mail with Rmail):
    * doc/misc/speedbar.texi (Major Display Modes):
    * lisp/mh-e/mh-folder.el (mh-restore-desktop-buffer):
    Doc fixes re obsolete aliases.
    ; * lisp/autoinsert.el (auto-insert):
    ; * lisp/ffap.el (ffap-newfile-prompt):
    ; * lisp/woman.el (woman-insert-file-contents): Comment fixes.
---
 doc/misc/efaq-w32.texi | 4 ++--
 doc/misc/speedbar.texi | 8 ++++----
 lisp/autoinsert.el     | 2 +-
 lisp/ffap.el           | 2 +-
 lisp/mh-e/mh-folder.el | 2 +-
 lisp/woman.el          | 4 ++--
 6 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/doc/misc/efaq-w32.texi b/doc/misc/efaq-w32.texi
index af002d7..8cdf870 100644
--- a/doc/misc/efaq-w32.texi
+++ b/doc/misc/efaq-w32.texi
@@ -1595,7 +1595,7 @@ address@hidden, you should set it to @code{nil}:
 @cindex movemail, using pop3
 @cindex MAILHOST
 @vindex rmail-primary-inbox-list
address@hidden rmail-pop-password-required
address@hidden rmail-remote-password-required
 
 For incoming mail using the Rmail package and a POP3 server, you will
 need the following configuration:
@@ -1603,7 +1603,7 @@ need the following configuration:
 @example
 (setenv "MAILHOST" "@var{domain.name.of.your.pop3.server}")
 (setq rmail-primary-inbox-list '("po:@var{your logon id}"))
-(setq rmail-pop-password-required t)
+(setq rmail-remote-password-required t)
 @end example
 
 @node Incoming mail with Gnus
diff --git a/doc/misc/speedbar.texi b/doc/misc/speedbar.texi
index 1c1b014..d67c4e6 100644
--- a/doc/misc/speedbar.texi
+++ b/doc/misc/speedbar.texi
@@ -979,8 +979,8 @@ With a numeric argument (@kbd{C-u}), flush cached data 
before expanding.
 Contract the item under the cursor.
 @end table
 
address@hidden @code{speedbar-line-path}
-These function require that function @code{speedbar-line-path} be
address@hidden @code{speedbar-line-directory}
+These functions require that the function @code{speedbar-line-directory} be
 correctly overloaded to work.
 
 Next, register your extension like this;
@@ -1013,14 +1013,14 @@ like this:
 (speedbar-add-mode-functions-list
  '("MYEXTENSION"
    (speedbar-item-info . MyExtension-speedbar-item-info)
-   (speedbar-line-path . MyExtension-speedbar-line-path)))
+   (speedbar-line-directory . MyExtension-speedbar-line-directory)))
 @end example
 
 The first element in the list is the name of you extension.  The second
 is an alist of functions to overload.  The function to overload is
 first, followed by what you want called instead.
 
-For @code{speedbar-line-path} your function should take an optional DEPTH
+For @code{speedbar-line-directory} your function should take an optional DEPTH
 parameter.  This is the starting depth for heavily indented lines.  If
 it is not provided, you can derive it like this:
 
diff --git a/lisp/autoinsert.el b/lisp/autoinsert.el
index f2ca52b..dfa5b60 100644
--- a/lisp/autoinsert.el
+++ b/lisp/autoinsert.el
@@ -386,7 +386,7 @@ Matches the visited file name against the elements of 
`auto-insert-alist'."
              (not (eq this-command 'auto-insert))
              (set-buffer-modified-p (eq auto-insert t)))))
   ;; Return nil so that it could be used in
-  ;; `find-file-not-found-hooks', though that's probably inadvisable.
+  ;; `find-file-not-found-functions', though that's probably inadvisable.
   nil)
 
 
diff --git a/lisp/ffap.el b/lisp/ffap.el
index 4e479d1..22be2f8 100644
--- a/lisp/ffap.el
+++ b/lisp/ffap.el
@@ -248,7 +248,7 @@ it passes it on to `dired'."
 
 (defcustom ffap-newfile-prompt nil
   ;; Suggestion from RHOGEE, 11 Jul 1994.  Disabled, I think this is
-  ;; better handled by `find-file-not-found-hooks'.
+  ;; better handled by `find-file-not-found-functions'.
   "Whether `find-file-at-point' prompts about a nonexistent file."
   :type 'boolean
   :group 'ffap)
diff --git a/lisp/mh-e/mh-folder.el b/lisp/mh-e/mh-folder.el
index 23cc2ba..82e28e8 100644
--- a/lisp/mh-e/mh-folder.el
+++ b/lisp/mh-e/mh-folder.el
@@ -88,7 +88,7 @@ the MH mail system."
 When desktop creates a buffer, DESKTOP-BUFFER-FILE-NAME holds the
 file name to visit, DESKTOP-BUFFER-NAME holds the desired buffer
 name, and DESKTOP-BUFFER-MISC holds a list of miscellaneous info
-used by the `desktop-buffer-handlers' functions."
+used by the `desktop-buffer-mode-handlers' functions."
   (mh-find-path)
   (mh-visit-folder desktop-buffer-name)
   (current-buffer))
diff --git a/lisp/woman.el b/lisp/woman.el
index 73f18b0..533f146 100644
--- a/lisp/woman.el
+++ b/lisp/woman.el
@@ -1759,8 +1759,8 @@ Leave point at end of new text.  Return length of 
inserted text."
           (condition-case ()
               (insert-file-contents filename nil)
             (file-error
-             ;; Run find-file-not-found-hooks until one returns non-nil.
-             ;; (run-hook-with-args-until-success 'find-file-not-found-hooks)
+             ;; Run find-file-not-found-functions until one returns non-nil.
+             ;; (run-hook-with-args-until-success 
'find-file-not-found-functions)
              (insert "\n***** File " filename " not found! *****\n\n")))))))
 
 



reply via email to

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