Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
d5d105e8
Commit
d5d105e8
authored
Aug 21, 2009
by
Glenn Morris
Browse files
Use help-print-return-message rather than the now obsolete alias.
parent
a8ab722f
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
53 additions
and
36 deletions
+53
-36
lisp/ChangeLog
lisp/ChangeLog
+17
-0
lisp/apropos.el
lisp/apropos.el
+1
-1
lisp/calc/calc-help.el
lisp/calc/calc-help.el
+4
-4
lisp/ehelp.el
lisp/ehelp.el
+3
-3
lisp/emerge.el
lisp/emerge.el
+1
-1
lisp/emulation/edt.el
lisp/emulation/edt.el
+3
-3
lisp/international/mule-diag.el
lisp/international/mule-diag.el
+1
-1
lisp/play/yow.el
lisp/play/yow.el
+3
-3
lisp/printing.el
lisp/printing.el
+3
-3
lisp/progmodes/python.el
lisp/progmodes/python.el
+1
-1
lisp/progmodes/vhdl-mode.el
lisp/progmodes/vhdl-mode.el
+2
-2
lisp/strokes.el
lisp/strokes.el
+3
-3
lisp/textmodes/table.el
lisp/textmodes/table.el
+5
-5
lisp/tutorial.el
lisp/tutorial.el
+2
-2
lisp/woman.el
lisp/woman.el
+4
-4
No files found.
lisp/ChangeLog
View file @
d5d105e8
2009-08-21 Glenn Morris <rgm@gnu.org>
* apropos.el (apropos-command):
* ehelp.el (electric-helpify):
* printing.el (pr-show-setup):
* strokes.el (strokes-help):
* tutorial.el (tutorial--describe-nonstandard-key)
(tutorial--detailed-help):
* woman.el (woman-mini-help, woman-display-extended-fonts):
* calc/calc-help.el (calc-describe-key):
* emulation/edt.el (edt-electric-helpify):
* international/mule-diag.el (mule-diag):
* play/yow.el (apropos-zippy):
* progmodes/python.el (python-describe-symbol):
* progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
* textmodes/table.el (*table--cell-describe-mode)
(*table--cell-describe-bindings):
Use help-print-return-message rather than the now obsolete alias.
* calendar/cal-move.el (calendar-cursor-to-nearest-date)
(calendar-cursor-to-visible-date): Use forward-line, not goto-line.
...
...
lisp/apropos.el
View file @
d5d105e8
...
...
@@ -466,7 +466,7 @@ while a list of strings is used as a word list."
(
apropos-parse-pattern
pattern
)
(
let
((
message
(
let
((
standard-output
(
get-buffer-create
"*Apropos*"
)))
(
print
-help
-return-message
'identity
))))
(
help-
print-return-message
'identity
))))
(
or
do-all
(
setq
do-all
apropos-do-all
))
(
setq
apropos-accumulator
(
apropos-internal
apropos-regexp
...
...
lisp/calc/calc-help.el
View file @
d5d105e8
;;; calc-help.el --- help display functions for Calc,
;; Copyright (C) 1990, 1991, 1992, 1993, 2001, 2002, 2003, 2004,
;;
2005,
2006, 2007, 2008, 2009 Free Software Foundation, Inc.
;; Copyright (C) 1990, 1991, 1992, 1993, 2001, 2002, 2003, 2004,
2005,
;; 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
;; Author: David Gillespie <daveg@synaptics.com>
;; Maintainer: Jay Belanger <jay.p.belanger@gmail.com>
...
...
@@ -283,7 +283,7 @@ C-w Describe how there is no warranty for Calc."
(
beginning-of-line
)
(
princ
(
buffer-substring
pt
(
point
))))
(
setq
notes
(
cdr
notes
)))
(
print
-help
-return-message
)))
(
help-
print-return-message
)))
(
calc-unread-command
(
cdr
key
)))))
(
if
(
or
(
null
defn
)
(
integerp
defn
))
(
message
"%s is undefined"
desc
)
...
...
@@ -466,7 +466,7 @@ C-w Describe how there is no warranty for Calc."
calc-shift-Y-prefix-help
calc-shift-Z-prefix-help
calc-z-prefix-help
)))
(
print
-help
-return-message
)))
(
help-
print-return-message
)))
(
defun
calc-h-prefix-help
()
(
interactive
)
...
...
lisp/ehelp.el
View file @
d5d105e8
...
...
@@ -292,7 +292,7 @@ will select it.)"
(
let
((
name
(
or
name
"*Help*"
)))
(
if
(
save-window-excursion
;; kludge-o-rama
(
let*
((
p
(
symbol-function
'print
-help
-return-message
))
(
let*
((
p
(
symbol-function
'
help-
print-return-message
))
(
b
(
get-buffer
name
))
(
m
(
buffer-modified-p
b
)))
(
and
b
(
not
(
get-buffer-window
b
))
...
...
@@ -325,14 +325,14 @@ will select it.)"
(
save-excursion
(
set-buffer
b
)
(
set-buffer-modified-p
t
)))
(
fset
'print
-help
-return-message
'ignore
)
(
fset
'
help-
print-return-message
'ignore
)
(
call-interactively
fun
)
(
and
(
get-buffer
name
)
(
get-buffer-window
(
get-buffer
name
))
(
or
(
not
b
)
(
not
(
eq
b
(
get-buffer
name
)))
(
not
(
buffer-modified-p
b
)))))
(
fset
'print
-help
-return-message
p
)
(
fset
'
help-
print-return-message
p
)
(
and
b
(
buffer-name
b
)
(
save-excursion
(
set-buffer
b
)
...
...
lisp/emerge.el
View file @
d5d105e8
...
...
@@ -3023,7 +3023,7 @@ If some prefix of KEY has a non-prefix definition, it is redefined."
;; (save-excursion
;; (set-buffer standard-output)
;; (help-mode))
;; (print
-help
-return-message)))
;; (
help-
print-return-message)))
;; This goes with the redefinition of describe-mode.
;;;; Adjust things so that keyboard macro definitions are documented correctly.
...
...
lisp/emulation/edt.el
View file @
d5d105e8
...
...
@@ -2648,7 +2648,7 @@ G-C-\\: Split Window | FNDNXT | Yank | CUT |
(
defun
edt-electric-helpify
(
fun
)
(
let
((
name
"*Help*"
))
(
if
(
save-window-excursion
(
let*
((
p
(
symbol-function
'print
-help
-return-message
))
(
let*
((
p
(
symbol-function
'
help-
print-return-message
))
(
b
(
get-buffer
name
))
(
m
(
buffer-modified-p
b
)))
(
and
b
(
not
(
get-buffer-window
b
))
...
...
@@ -2660,14 +2660,14 @@ G-C-\\: Split Window | FNDNXT | Yank | CUT |
(
save-excursion
(
set-buffer
b
)
(
set-buffer-modified-p
t
)))
(
fset
'print
-help
-return-message
'ignore
)
(
fset
'
help-
print-return-message
'ignore
)
(
call-interactively
fun
)
(
and
(
get-buffer
name
)
(
get-buffer-window
(
get-buffer
name
))
(
or
(
not
b
)
(
not
(
eq
b
(
get-buffer
name
)))
(
not
(
buffer-modified-p
b
)))))
(
fset
'print
-help
-return-message
p
)
(
fset
'
help-
print-return-message
p
)
(
and
b
(
buffer-name
b
)
(
save-excursion
(
set-buffer
b
)
...
...
lisp/international/mule-diag.el
View file @
d5d105e8
...
...
@@ -1130,7 +1130,7 @@ system which uses fontsets)."
(insert "
------------\t\t\t\t\t\t
-----
-----\n
")
(dolist (fontset (fontset-list))
(print-fontset fontset t)))
(print
-help
-return-message))))
(
help-
print-return-message))))
;;;###autoload
(defun font-show-log (&optional limit)
...
...
lisp/play/yow.el
View file @
d5d105e8
;;; yow.el --- quote random zippyisms
;; Copyright (C) 1993, 1994, 1995, 2000, 2001, 2002, 2003, 2004,
;;
2005,
2006, 2007, 2008, 2009 Free Software Foundation, Inc.
;; Copyright (C) 1993, 1994, 1995, 2000, 2001, 2002, 2003, 2004,
2005,
;; 2006, 2007, 2008, 2009
Free Software Foundation, Inc.
;; Maintainer: FSF
;; Author: Richard Mlynarik
...
...
@@ -101,7 +101,7 @@ If called interactively, display a list of matches."
(
princ
(
car
l
))
(
setq
l
(
cdr
l
))
(
and
l
(
princ
"\n\n"
)))
(
print
-help
-return-message
))))))
(
help-
print-return-message
))))))
matches
))
...
...
lisp/printing.el
View file @
d5d105e8
;;; printing.el --- printing utilities
;; Copyright (C) 2000, 2001, 2003, 2004, 2005,
;;
2006, 2007, 2008, 2009
Free Software Foundation, Inc.
;; Copyright (C) 2000, 2001, 2003, 2004, 2005,
2006, 2007, 2008, 2009
;; Free Software Foundation, Inc.
;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br>
;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br>
...
...
@@ -5506,7 +5506,7 @@ If menu binding was not done, calls `pr-menu-bind'."
(defun pr-show-setup (settings buffer-name)
(with-output-to-temp-buffer buffer-name
(princ settings)
(
print
-help
-return-message
)))
(
help-
print-return-message)))
(defun pr-complete-alist (prompt alist default)
...
...
lisp/progmodes/python.el
View file @
d5d105e8
...
...
@@ -1787,7 +1787,7 @@ will."
;; Fixme: Is this actually useful?
(
help-setup-xref
(
list
'python-describe-symbol
symbol
)
(
interactive-p
))
(
set
(
make-local-variable
'comint-redirect-subvert-readonly
)
t
)
(
print
-help
-return-message
))))
(
help-
print-return-message
))))
(
comint-redirect-send-command-to-process
(
format
"emacs.ehelp(%S, %s)"
symbol
python-imports
)
"*Help*"
(
python-proc
)
nil
nil
))
...
...
lisp/progmodes/vhdl-mode.el
View file @
d5d105e8
...
...
@@ -16979,7 +16979,7 @@ to visually support naming conventions.")
(princ (documentation-property variable 'variable-documentation))
(with-current-buffer standard-output
(help-mode))
(print
-help
-return-message)))
(
help-
print-return-message)))
(defun vhdl-doc-mode ()
"Display VHDL Mode documentation in *Help* buffer."
...
...
@@ -16993,7 +16993,7 @@ to visually support naming conventions.")
(princ (documentation 'vhdl-mode))
(with-current-buffer standard-output
(help-mode))
(print
-help
-return-message)))
(
help-
print-return-message)))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
...
...
lisp/strokes.el
View file @
d5d105e8
;;; strokes.el --- control Emacs through mouse strokes
;; Copyright (C) 1997, 2000, 2001, 2002, 2003, 2004,
;;
2005, 2006, 2007,
2008, 2009 Free Software Foundation, Inc.
;; Copyright (C) 1997, 2000, 2001, 2002, 2003, 2004,
2005, 2006, 2007,
;; 2008, 2009
Free Software Foundation, Inc.
;; Author: David Bakhash <cadet@alum.mit.edu>
;; Maintainer: FSF
...
...
@@ -1028,7 +1028,7 @@ o Strokes are a bit computer-dependent in that they depend somewhat on
by customizing the group `strokes' via \\[customize-group]."
))
(
set-buffer
standard-output
)
(
help-mode
)
(
print
-help
-return-message
)))
(
help-
print-return-message
)))
(
defalias
'strokes-report-bug
'report-emacs-bug
)
...
...
lisp/textmodes/table.el
View file @
d5d105e8
;;; table.el --- create and edit WYSIWYG text based embedded tables
;; Copyright (C) 2000, 2001, 2002, 2003, 2004,
;;
2005, 2006, 2007, 2008,
2009 Free Software Foundation, Inc.
;; Copyright (C) 2000, 2001, 2002, 2003, 2004,
2005, 2006, 2007, 2008,
;; 2009 Free Software Foundation, Inc.
;; Keywords: wp, convenience
;; Author: Takaaki Ota <Takaaki.Ota@am.sony.com>
;; Created: Sat Jul 08 2000 13:28:45 (PST)
;; Revised:
Thu Jan 08
2009
2
0:1
7:04
(P
S
T)
;; Revised:
Fri Aug 21
2009
0
0:1
6:58
(P
D
T)
;; This file is part of GNU Emacs.
...
...
@@ -4078,7 +4078,7 @@ fit in the cell width the word is folded into the next line. The
folded location is marked by a continuation character which is
specified in the variable `table-word-continuation-char'.
")
(
print
-help
-return-message
))))
(
help-
print-return-message))))
(defun *table--cell-describe-bindings ()
"Table cell version of `describe-bindings'."
...
...
@@ -4096,7 +4096,7 @@ key binding
(key-description (car binding))
(cdr binding))))
table-cell-bindings)
(
print
-help
-return-message
))))
(
help-
print-return-message))))
(defun *table--cell-dabbrev-expand (arg)
"Table cell version of `dabbrev-expand'."
...
...
lisp/tutorial.el
View file @
d5d105e8
...
...
@@ -163,7 +163,7 @@ options:
(
format
"%s"
db
)
"'."
)))
(
fill-region
(
point-min
)
(
point
)))))
(
print
-help
-return-message
))))
(
help-
print-return-message
))))
(
defun
tutorial--sort-keys
(
left
right
)
"Sort predicate for use with `tutorial--default-keys'.
...
...
@@ -388,7 +388,7 @@ from the Emacs default:\n\n" )
(
insert
"
It is OK to change key bindings, but changed bindings do not
correspond to what the tutorial says.\n\n"
)
(
print
-help
-return-message
)))))
(
help-
print-return-message
)))))
(
defun
tutorial--find-changed-keys
(
default-keys
)
"Find the key bindings used in the tutorial that have changed.
...
...
lisp/woman.el
View file @
d5d105e8
;;; woman.el --- browse UN*X manual pages `wo (without) man'
;; Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005,
;; 200
6, 2007, 2008, 200
9 Free Software Foundation, Inc.
;; Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005,
2006, 2007, 2008,
;; 2009
Free Software Foundation, Inc.
;; Author: Francis J. Wright <F.J.Wright@qmul.ac.uk>
;; Maintainer: FSF
...
...
@@ -1970,7 +1970,7 @@ Optional argument REDRAW, if non-nil, forces mode line to be updated."
(
require
'apropos
)
(
let
((
message
(
let
((
standard-output
(
get-buffer-create
"*Apropos*"
)))
(
print
-help
-return-message
'identity
))))
(
help-
print-return-message
'identity
))))
(
setq
apropos-accumulator
(
apropos-internal
"woman"
(
lambda
(
symbol
)
...
...
@@ -2973,7 +2973,7 @@ Useful for constructing the alist variable `woman-special-characters'."
(
setq
i
(
1+
i
))
(
when
(
=
i
128
)
(
setq
i
160
)
(
insert
"\n"
))
(
if
(
zerop
(
%
i
8
))
(
insert
"\n"
)))))
(
print
-help
-return-message
)))
(
help-
print-return-message
)))
;;; Formatting macros that do not cause a break:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment