From ae1f1ce1e2f1ffeedcfdfa2c9e463483d96a99af Mon Sep 17 00:00:00 2001 From: Bozhidar Batsov Date: Tue, 5 Nov 2013 11:47:47 +0200 Subject: [PATCH] * lisp/progmodes/python.el (python-mode): Remove incorrect text from docstring. * lisp/progmodes/scheme.el (scheme-mode): Remove incorrect text from docstring. * lisp/progmodes/prolog.el (prolog-mode): Remove incorrect text from docstring. * lisp/emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode, emacs-lisp-mode): Remove incorrect text from docstring. --- lisp/ChangeLog | 6 ++++++ lisp/emacs-lisp/lisp-mode.el | 13 +++---------- lisp/progmodes/prolog.el | 4 +--- lisp/progmodes/python.el | 4 +--- lisp/progmodes/scheme.el | 4 +--- 5 files changed, 12 insertions(+), 19 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 10512265e71..67de518e56d 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,11 @@ 2013-11-05 Bozhidar Batsov + * progmodes/python.el (python-mode): Remove incorrect text from docstring. + * progmodes/scheme.el (scheme-mode): Remove incorrect text from docstring. + * progmodes/prolog.el (prolog-mode): Remove incorrect text from docstring. + * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode, emacs-lisp-mode): + Remove incorrect text from docstring. + * progmodes/ruby-mode.el (ruby-mode): Remove incorrect text from docstring. 2013-11-04 Stefan Monnier diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el index 8d4e6e3a20a..f4e9b311acc 100644 --- a/lisp/emacs-lisp/lisp-mode.el +++ b/lisp/emacs-lisp/lisp-mode.el @@ -700,9 +700,7 @@ Commands: Delete converts tabs to spaces as it moves back. Blank lines separate paragraphs. Semicolons start comments. -\\{emacs-lisp-mode-map} -Entry to this mode calls the value of `emacs-lisp-mode-hook' -if that value is non-nil." +\\{emacs-lisp-mode-map}" :group 'lisp (lisp-mode-variables nil nil 'elisp) (setq imenu-case-fold-search nil) @@ -792,10 +790,7 @@ Blank lines separate paragraphs. Semicolons start comments. \\{lisp-mode-map} Note that `run-lisp' may be used either to start an inferior Lisp job -or to switch back to an existing one. - -Entry to this mode calls the value of `lisp-mode-hook' -if that value is non-nil." +or to switch back to an existing one." (lisp-mode-variables nil t) (setq-local find-tag-default-function 'lisp-find-tag-default) (setq-local comment-start-skip @@ -860,9 +855,7 @@ Delete converts tabs to spaces as it moves back. Paragraphs are separated only by blank lines. Semicolons start comments. -\\{lisp-interaction-mode-map} -Entry to this mode calls the value of `lisp-interaction-mode-hook' -if that value is non-nil." +\\{lisp-interaction-mode-map}" :abbrev-table nil) (defun eval-print-last-sexp () diff --git a/lisp/progmodes/prolog.el b/lisp/progmodes/prolog.el index 5a2d7c1cf0e..c766189c4d2 100644 --- a/lisp/progmodes/prolog.el +++ b/lisp/progmodes/prolog.el @@ -1109,9 +1109,7 @@ To find out what version of Prolog mode you are running, enter `\\[prolog-mode-version]'. Commands: -\\{prolog-mode-map} -Entry to this mode calls the value of `prolog-mode-hook' -if that value is non-nil." +\\{prolog-mode-map}" (setq mode-name (concat "Prolog" (cond ((eq prolog-system 'eclipse) "[ECLiPSe]") diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index ca9c3c6e6ef..7a90f0bb5ee 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -3591,9 +3591,7 @@ list is returned as is." (define-derived-mode python-mode prog-mode "Python" "Major mode for editing Python files. -\\{python-mode-map} -Entry to this mode calls the value of `python-mode-hook' -if that value is non-nil." +\\{python-mode-map}" (set (make-local-variable 'tab-width) 8) (set (make-local-variable 'indent-tabs-mode) nil) diff --git a/lisp/progmodes/scheme.el b/lisp/progmodes/scheme.el index fda7d6b6852..eabb222a84b 100644 --- a/lisp/progmodes/scheme.el +++ b/lisp/progmodes/scheme.el @@ -210,9 +210,7 @@ start an inferior Scheme using the more general `cmuscheme' package. Commands: Delete converts tabs to spaces as it moves back. Blank lines separate paragraphs. Semicolons start comments. -\\{scheme-mode-map} -Entry to this mode calls the value of `scheme-mode-hook' -if that value is non-nil." +\\{scheme-mode-map}" (scheme-mode-variables)) (defgroup scheme nil -- 2.39.2