aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog17
-rw-r--r--lisp/apropos.el2
-rw-r--r--lisp/calc/calc-help.el8
-rw-r--r--lisp/ehelp.el6
-rw-r--r--lisp/emerge.el2
-rw-r--r--lisp/emulation/edt.el6
-rw-r--r--lisp/international/mule-diag.el2
-rw-r--r--lisp/play/yow.el6
-rw-r--r--lisp/printing.el6
-rw-r--r--lisp/progmodes/python.el2
-rw-r--r--lisp/progmodes/vhdl-mode.el4
-rw-r--r--lisp/strokes.el6
-rw-r--r--lisp/textmodes/table.el10
-rw-r--r--lisp/tutorial.el4
-rw-r--r--lisp/woman.el8
15 files changed, 53 insertions, 36 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index fbab5bc818c..5cd5ec74fe8 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,22 @@
12009-08-21 Glenn Morris <rgm@gnu.org> 12009-08-21 Glenn Morris <rgm@gnu.org>
2 2
3 * apropos.el (apropos-command):
4 * ehelp.el (electric-helpify):
5 * printing.el (pr-show-setup):
6 * strokes.el (strokes-help):
7 * tutorial.el (tutorial--describe-nonstandard-key)
8 (tutorial--detailed-help):
9 * woman.el (woman-mini-help, woman-display-extended-fonts):
10 * calc/calc-help.el (calc-describe-key):
11 * emulation/edt.el (edt-electric-helpify):
12 * international/mule-diag.el (mule-diag):
13 * play/yow.el (apropos-zippy):
14 * progmodes/python.el (python-describe-symbol):
15 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
16 * textmodes/table.el (*table--cell-describe-mode)
17 (*table--cell-describe-bindings):
18 Use help-print-return-message rather than the now obsolete alias.
19
3 * calendar/cal-move.el (calendar-cursor-to-nearest-date) 20 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
4 (calendar-cursor-to-visible-date): Use forward-line, not goto-line. 21 (calendar-cursor-to-visible-date): Use forward-line, not goto-line.
5 22
diff --git a/lisp/apropos.el b/lisp/apropos.el
index 8a2f5d789a8..ca9be2f36f8 100644
--- a/lisp/apropos.el
+++ b/lisp/apropos.el
@@ -466,7 +466,7 @@ while a list of strings is used as a word list."
466 (apropos-parse-pattern pattern) 466 (apropos-parse-pattern pattern)
467 (let ((message 467 (let ((message
468 (let ((standard-output (get-buffer-create "*Apropos*"))) 468 (let ((standard-output (get-buffer-create "*Apropos*")))
469 (print-help-return-message 'identity)))) 469 (help-print-return-message 'identity))))
470 (or do-all (setq do-all apropos-do-all)) 470 (or do-all (setq do-all apropos-do-all))
471 (setq apropos-accumulator 471 (setq apropos-accumulator
472 (apropos-internal apropos-regexp 472 (apropos-internal apropos-regexp
diff --git a/lisp/calc/calc-help.el b/lisp/calc/calc-help.el
index 19a438cda16..ced9fbad220 100644
--- a/lisp/calc/calc-help.el
+++ b/lisp/calc/calc-help.el
@@ -1,7 +1,7 @@
1;;; calc-help.el --- help display functions for Calc, 1;;; calc-help.el --- help display functions for Calc,
2 2
3;; Copyright (C) 1990, 1991, 1992, 1993, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1990, 1991, 1992, 1993, 2001, 2002, 2003, 2004, 2005,
4;; 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. 4;; 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
5 5
6;; Author: David Gillespie <daveg@synaptics.com> 6;; Author: David Gillespie <daveg@synaptics.com>
7;; Maintainer: Jay Belanger <jay.p.belanger@gmail.com> 7;; Maintainer: Jay Belanger <jay.p.belanger@gmail.com>
@@ -283,7 +283,7 @@ C-w Describe how there is no warranty for Calc."
283 (beginning-of-line) 283 (beginning-of-line)
284 (princ (buffer-substring pt (point)))) 284 (princ (buffer-substring pt (point))))
285 (setq notes (cdr notes))) 285 (setq notes (cdr notes)))
286 (print-help-return-message))) 286 (help-print-return-message)))
287 (calc-unread-command (cdr key))))) 287 (calc-unread-command (cdr key)))))
288 (if (or (null defn) (integerp defn)) 288 (if (or (null defn) (integerp defn))
289 (message "%s is undefined" desc) 289 (message "%s is undefined" desc)
@@ -466,7 +466,7 @@ C-w Describe how there is no warranty for Calc."
466 calc-shift-Y-prefix-help 466 calc-shift-Y-prefix-help
467 calc-shift-Z-prefix-help 467 calc-shift-Z-prefix-help
468 calc-z-prefix-help))) 468 calc-z-prefix-help)))
469 (print-help-return-message))) 469 (help-print-return-message)))
470 470
471(defun calc-h-prefix-help () 471(defun calc-h-prefix-help ()
472 (interactive) 472 (interactive)
diff --git a/lisp/ehelp.el b/lisp/ehelp.el
index 3d8953f1590..d8e7ea57deb 100644
--- a/lisp/ehelp.el
+++ b/lisp/ehelp.el
@@ -292,7 +292,7 @@ will select it.)"
292 (let ((name (or name "*Help*"))) 292 (let ((name (or name "*Help*")))
293 (if (save-window-excursion 293 (if (save-window-excursion
294 ;; kludge-o-rama 294 ;; kludge-o-rama
295 (let* ((p (symbol-function 'print-help-return-message)) 295 (let* ((p (symbol-function 'help-print-return-message))
296 (b (get-buffer name)) 296 (b (get-buffer name))
297 (m (buffer-modified-p b))) 297 (m (buffer-modified-p b)))
298 (and b (not (get-buffer-window b)) 298 (and b (not (get-buffer-window b))
@@ -325,14 +325,14 @@ will select it.)"
325 (save-excursion 325 (save-excursion
326 (set-buffer b) 326 (set-buffer b)
327 (set-buffer-modified-p t))) 327 (set-buffer-modified-p t)))
328 (fset 'print-help-return-message 'ignore) 328 (fset 'help-print-return-message 'ignore)
329 (call-interactively fun) 329 (call-interactively fun)
330 (and (get-buffer name) 330 (and (get-buffer name)
331 (get-buffer-window (get-buffer name)) 331 (get-buffer-window (get-buffer name))
332 (or (not b) 332 (or (not b)
333 (not (eq b (get-buffer name))) 333 (not (eq b (get-buffer name)))
334 (not (buffer-modified-p b))))) 334 (not (buffer-modified-p b)))))
335 (fset 'print-help-return-message p) 335 (fset 'help-print-return-message p)
336 (and b (buffer-name b) 336 (and b (buffer-name b)
337 (save-excursion 337 (save-excursion
338 (set-buffer b) 338 (set-buffer b)
diff --git a/lisp/emerge.el b/lisp/emerge.el
index 48aa07655cf..447c5d8de99 100644
--- a/lisp/emerge.el
+++ b/lisp/emerge.el
@@ -3023,7 +3023,7 @@ If some prefix of KEY has a non-prefix definition, it is redefined."
3023;; (save-excursion 3023;; (save-excursion
3024;; (set-buffer standard-output) 3024;; (set-buffer standard-output)
3025;; (help-mode)) 3025;; (help-mode))
3026;; (print-help-return-message))) 3026;; (help-print-return-message)))
3027 3027
3028;; This goes with the redefinition of describe-mode. 3028;; This goes with the redefinition of describe-mode.
3029;;;; Adjust things so that keyboard macro definitions are documented correctly. 3029;;;; Adjust things so that keyboard macro definitions are documented correctly.
diff --git a/lisp/emulation/edt.el b/lisp/emulation/edt.el
index a14ac3039f9..68ffea55e80 100644
--- a/lisp/emulation/edt.el
+++ b/lisp/emulation/edt.el
@@ -2648,7 +2648,7 @@ G-C-\\: Split Window | FNDNXT | Yank | CUT |
2648(defun edt-electric-helpify (fun) 2648(defun edt-electric-helpify (fun)
2649 (let ((name "*Help*")) 2649 (let ((name "*Help*"))
2650 (if (save-window-excursion 2650 (if (save-window-excursion
2651 (let* ((p (symbol-function 'print-help-return-message)) 2651 (let* ((p (symbol-function 'help-print-return-message))
2652 (b (get-buffer name)) 2652 (b (get-buffer name))
2653 (m (buffer-modified-p b))) 2653 (m (buffer-modified-p b)))
2654 (and b (not (get-buffer-window b)) 2654 (and b (not (get-buffer-window b))
@@ -2660,14 +2660,14 @@ G-C-\\: Split Window | FNDNXT | Yank | CUT |
2660 (save-excursion 2660 (save-excursion
2661 (set-buffer b) 2661 (set-buffer b)
2662 (set-buffer-modified-p t))) 2662 (set-buffer-modified-p t)))
2663 (fset 'print-help-return-message 'ignore) 2663 (fset 'help-print-return-message 'ignore)
2664 (call-interactively fun) 2664 (call-interactively fun)
2665 (and (get-buffer name) 2665 (and (get-buffer name)
2666 (get-buffer-window (get-buffer name)) 2666 (get-buffer-window (get-buffer name))
2667 (or (not b) 2667 (or (not b)
2668 (not (eq b (get-buffer name))) 2668 (not (eq b (get-buffer name)))
2669 (not (buffer-modified-p b))))) 2669 (not (buffer-modified-p b)))))
2670 (fset 'print-help-return-message p) 2670 (fset 'help-print-return-message p)
2671 (and b (buffer-name b) 2671 (and b (buffer-name b)
2672 (save-excursion 2672 (save-excursion
2673 (set-buffer b) 2673 (set-buffer b)
diff --git a/lisp/international/mule-diag.el b/lisp/international/mule-diag.el
index 38d9973b76f..89daaae7063 100644
--- a/lisp/international/mule-diag.el
+++ b/lisp/international/mule-diag.el
@@ -1130,7 +1130,7 @@ system which uses fontsets)."
1130 (insert "------------\t\t\t\t\t\t ----- -----\n") 1130 (insert "------------\t\t\t\t\t\t ----- -----\n")
1131 (dolist (fontset (fontset-list)) 1131 (dolist (fontset (fontset-list))
1132 (print-fontset fontset t))) 1132 (print-fontset fontset t)))
1133 (print-help-return-message)))) 1133 (help-print-return-message))))
1134 1134
1135;;;###autoload 1135;;;###autoload
1136(defun font-show-log (&optional limit) 1136(defun font-show-log (&optional limit)
diff --git a/lisp/play/yow.el b/lisp/play/yow.el
index 69662e2ccf9..1c284d009ad 100644
--- a/lisp/play/yow.el
+++ b/lisp/play/yow.el
@@ -1,7 +1,7 @@
1;;; yow.el --- quote random zippyisms 1;;; yow.el --- quote random zippyisms
2 2
3;; Copyright (C) 1993, 1994, 1995, 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1993, 1994, 1995, 2000, 2001, 2002, 2003, 2004, 2005,
4;; 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. 4;; 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7;; Author: Richard Mlynarik 7;; Author: Richard Mlynarik
@@ -101,7 +101,7 @@ If called interactively, display a list of matches."
101 (princ (car l)) 101 (princ (car l))
102 (setq l (cdr l)) 102 (setq l (cdr l))
103 (and l (princ "\n\n"))) 103 (and l (princ "\n\n")))
104 (print-help-return-message)))))) 104 (help-print-return-message))))))
105 matches)) 105 matches))
106 106
107 107
diff --git a/lisp/printing.el b/lisp/printing.el
index 5d101b40b2a..46b5f00d182 100644
--- a/lisp/printing.el
+++ b/lisp/printing.el
@@ -1,7 +1,7 @@
1;;; printing.el --- printing utilities 1;;; printing.el --- printing utilities
2 2
3;; Copyright (C) 2000, 2001, 2003, 2004, 2005, 3;; Copyright (C) 2000, 2001, 2003, 2004, 2005, 2006, 2007, 2008, 2009
4;; 2006, 2007, 2008, 2009 Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br> 6;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br>
7;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br> 7;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br>
@@ -5506,7 +5506,7 @@ If menu binding was not done, calls `pr-menu-bind'."
5506(defun pr-show-setup (settings buffer-name) 5506(defun pr-show-setup (settings buffer-name)
5507 (with-output-to-temp-buffer buffer-name 5507 (with-output-to-temp-buffer buffer-name
5508 (princ settings) 5508 (princ settings)
5509 (print-help-return-message))) 5509 (help-print-return-message)))
5510 5510
5511 5511
5512(defun pr-complete-alist (prompt alist default) 5512(defun pr-complete-alist (prompt alist default)
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 7221d8ecb73..308af6c02cc 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -1787,7 +1787,7 @@ will."
1787 ;; Fixme: Is this actually useful? 1787 ;; Fixme: Is this actually useful?
1788 (help-setup-xref (list 'python-describe-symbol symbol) (interactive-p)) 1788 (help-setup-xref (list 'python-describe-symbol symbol) (interactive-p))
1789 (set (make-local-variable 'comint-redirect-subvert-readonly) t) 1789 (set (make-local-variable 'comint-redirect-subvert-readonly) t)
1790 (print-help-return-message)))) 1790 (help-print-return-message))))
1791 (comint-redirect-send-command-to-process (format "emacs.ehelp(%S, %s)" 1791 (comint-redirect-send-command-to-process (format "emacs.ehelp(%S, %s)"
1792 symbol python-imports) 1792 symbol python-imports)
1793 "*Help*" (python-proc) nil nil)) 1793 "*Help*" (python-proc) nil nil))
diff --git a/lisp/progmodes/vhdl-mode.el b/lisp/progmodes/vhdl-mode.el
index 3cf930339e9..a7f033c7045 100644
--- a/lisp/progmodes/vhdl-mode.el
+++ b/lisp/progmodes/vhdl-mode.el
@@ -16979,7 +16979,7 @@ to visually support naming conventions.")
16979 (princ (documentation-property variable 'variable-documentation)) 16979 (princ (documentation-property variable 'variable-documentation))
16980 (with-current-buffer standard-output 16980 (with-current-buffer standard-output
16981 (help-mode)) 16981 (help-mode))
16982 (print-help-return-message))) 16982 (help-print-return-message)))
16983 16983
16984(defun vhdl-doc-mode () 16984(defun vhdl-doc-mode ()
16985 "Display VHDL Mode documentation in *Help* buffer." 16985 "Display VHDL Mode documentation in *Help* buffer."
@@ -16993,7 +16993,7 @@ to visually support naming conventions.")
16993 (princ (documentation 'vhdl-mode)) 16993 (princ (documentation 'vhdl-mode))
16994 (with-current-buffer standard-output 16994 (with-current-buffer standard-output
16995 (help-mode)) 16995 (help-mode))
16996 (print-help-return-message))) 16996 (help-print-return-message)))
16997 16997
16998 16998
16999;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 16999;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
diff --git a/lisp/strokes.el b/lisp/strokes.el
index 57c43207179..673a0fb50d5 100644
--- a/lisp/strokes.el
+++ b/lisp/strokes.el
@@ -1,7 +1,7 @@
1;;; strokes.el --- control Emacs through mouse strokes 1;;; strokes.el --- control Emacs through mouse strokes
2 2
3;; Copyright (C) 1997, 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1997, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
4;; 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. 4;; 2008, 2009 Free Software Foundation, Inc.
5 5
6;; Author: David Bakhash <cadet@alum.mit.edu> 6;; Author: David Bakhash <cadet@alum.mit.edu>
7;; Maintainer: FSF 7;; Maintainer: FSF
@@ -1028,7 +1028,7 @@ o Strokes are a bit computer-dependent in that they depend somewhat on
1028 by customizing the group `strokes' via \\[customize-group].")) 1028 by customizing the group `strokes' via \\[customize-group]."))
1029 (set-buffer standard-output) 1029 (set-buffer standard-output)
1030 (help-mode) 1030 (help-mode)
1031 (print-help-return-message))) 1031 (help-print-return-message)))
1032 1032
1033(defalias 'strokes-report-bug 'report-emacs-bug) 1033(defalias 'strokes-report-bug 'report-emacs-bug)
1034 1034
diff --git a/lisp/textmodes/table.el b/lisp/textmodes/table.el
index 0038cd70e4b..90337e734f5 100644
--- a/lisp/textmodes/table.el
+++ b/lisp/textmodes/table.el
@@ -1,12 +1,12 @@
1;;; table.el --- create and edit WYSIWYG text based embedded tables 1;;; table.el --- create and edit WYSIWYG text based embedded tables
2 2
3;; Copyright (C) 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
4;; 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. 4;; 2009 Free Software Foundation, Inc.
5 5
6;; Keywords: wp, convenience 6;; Keywords: wp, convenience
7;; Author: Takaaki Ota <Takaaki.Ota@am.sony.com> 7;; Author: Takaaki Ota <Takaaki.Ota@am.sony.com>
8;; Created: Sat Jul 08 2000 13:28:45 (PST) 8;; Created: Sat Jul 08 2000 13:28:45 (PST)
9;; Revised: Thu Jan 08 2009 20:17:04 (PST) 9;; Revised: Fri Aug 21 2009 00:16:58 (PDT)
10 10
11;; This file is part of GNU Emacs. 11;; This file is part of GNU Emacs.
12 12
@@ -4078,7 +4078,7 @@ fit in the cell width the word is folded into the next line. The
4078folded location is marked by a continuation character which is 4078folded location is marked by a continuation character which is
4079specified in the variable `table-word-continuation-char'. 4079specified in the variable `table-word-continuation-char'.
4080") 4080")
4081 (print-help-return-message)))) 4081 (help-print-return-message))))
4082 4082
4083(defun *table--cell-describe-bindings () 4083(defun *table--cell-describe-bindings ()
4084 "Table cell version of `describe-bindings'." 4084 "Table cell version of `describe-bindings'."
@@ -4096,7 +4096,7 @@ key binding
4096 (key-description (car binding)) 4096 (key-description (car binding))
4097 (cdr binding)))) 4097 (cdr binding))))
4098 table-cell-bindings) 4098 table-cell-bindings)
4099 (print-help-return-message)))) 4099 (help-print-return-message))))
4100 4100
4101(defun *table--cell-dabbrev-expand (arg) 4101(defun *table--cell-dabbrev-expand (arg)
4102 "Table cell version of `dabbrev-expand'." 4102 "Table cell version of `dabbrev-expand'."
diff --git a/lisp/tutorial.el b/lisp/tutorial.el
index 96aec65f38b..7d6bf1c7c72 100644
--- a/lisp/tutorial.el
+++ b/lisp/tutorial.el
@@ -163,7 +163,7 @@ options:
163 (format "%s" db) 163 (format "%s" db)
164 "'."))) 164 "'.")))
165 (fill-region (point-min) (point))))) 165 (fill-region (point-min) (point)))))
166 (print-help-return-message)))) 166 (help-print-return-message))))
167 167
168(defun tutorial--sort-keys (left right) 168(defun tutorial--sort-keys (left right)
169 "Sort predicate for use with `tutorial--default-keys'. 169 "Sort predicate for use with `tutorial--default-keys'.
@@ -388,7 +388,7 @@ from the Emacs default:\n\n" )
388 (insert " 388 (insert "
389It is OK to change key bindings, but changed bindings do not 389It is OK to change key bindings, but changed bindings do not
390correspond to what the tutorial says.\n\n") 390correspond to what the tutorial says.\n\n")
391 (print-help-return-message))))) 391 (help-print-return-message)))))
392 392
393(defun tutorial--find-changed-keys (default-keys) 393(defun tutorial--find-changed-keys (default-keys)
394 "Find the key bindings used in the tutorial that have changed. 394 "Find the key bindings used in the tutorial that have changed.
diff --git a/lisp/woman.el b/lisp/woman.el
index c80201b71a1..90185c6c846 100644
--- a/lisp/woman.el
+++ b/lisp/woman.el
@@ -1,7 +1,7 @@
1;;; woman.el --- browse UN*X manual pages `wo (without) man' 1;;; woman.el --- browse UN*X manual pages `wo (without) man'
2 2
3;; Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 3;; Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
4;; 2006, 2007, 2008, 2009 Free Software Foundation, Inc. 4;; 2009 Free Software Foundation, Inc.
5 5
6;; Author: Francis J. Wright <F.J.Wright@qmul.ac.uk> 6;; Author: Francis J. Wright <F.J.Wright@qmul.ac.uk>
7;; Maintainer: FSF 7;; Maintainer: FSF
@@ -1970,7 +1970,7 @@ Optional argument REDRAW, if non-nil, forces mode line to be updated."
1970 (require 'apropos) 1970 (require 'apropos)
1971 (let ((message 1971 (let ((message
1972 (let ((standard-output (get-buffer-create "*Apropos*"))) 1972 (let ((standard-output (get-buffer-create "*Apropos*")))
1973 (print-help-return-message 'identity)))) 1973 (help-print-return-message 'identity))))
1974 (setq apropos-accumulator 1974 (setq apropos-accumulator
1975 (apropos-internal "woman" 1975 (apropos-internal "woman"
1976 (lambda (symbol) 1976 (lambda (symbol)
@@ -2973,7 +2973,7 @@ Useful for constructing the alist variable `woman-special-characters'."
2973 (setq i (1+ i)) 2973 (setq i (1+ i))
2974 (when (= i 128) (setq i 160) (insert "\n")) 2974 (when (= i 128) (setq i 160) (insert "\n"))
2975 (if (zerop (% i 8)) (insert "\n"))))) 2975 (if (zerop (% i 8)) (insert "\n")))))
2976 (print-help-return-message))) 2976 (help-print-return-message)))
2977 2977
2978 2978
2979;;; Formatting macros that do not cause a break: 2979;;; Formatting macros that do not cause a break: