1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-13 09:32:47 +00:00
Commit Graph

170 Commits

Author SHA1 Message Date
Stefan Monnier
5f2022a3f4 Don't require help-mode (to avoid bootstrap issues). 2009-10-21 18:54:55 +00:00
Stefan Monnier
828821887b (describe-function-1): Don't burp is the function is not a symbol. 2009-10-05 19:50:15 +00:00
Stefan Monnier
8d6c1239cb * help-fns.el (help-function-arglist): Don't check advertised-signature-table.
(describe-function-1): Do it here instead so it also applies to subrs.
* emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
Obey advertised-signature-table.
2009-10-02 14:36:54 +00:00
Juanma Barranquero
32226619c5 Use called-interactively-p' instead of interactive-p'. 2009-10-02 03:48:36 +00:00
Stefan Monnier
ced10a4c9f * emacs-lisp/byte-run.el (advertised-signature-table): New var.
(set-advertised-calling-convention): New function.
(make-obsolete, define-obsolete-function-alias)
(make-obsolete-variable, define-obsolete-variable-alias):
Make the optional-ness of `when' obsolete.
(define-obsolete-face-alias): Make `when' non-optional.
* help-fns.el (help-function-arglist):
* emacs-lisp/bytecomp.el (byte-compile-fdefinition):
Use advertised-signature-table.
2009-10-01 16:54:21 +00:00
Juanma Barranquero
1659ada0ff * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
(help-default-arg-highlight): Remove.
  (help-highlight-arg): New function.
  (help-do-arg-highlight): Use it.
  Suggested by Drew Adams <drew.adams@oracle.com>.  (Bug#4510, bug#4520)

* NEWS: Mention new variable `help-downcase-arguments'
  and new default for arguments in *Help* buffers.
2009-09-24 19:19:41 +00:00
Glenn Morris
273cefaa42 (find-lisp-object-file-name): When looking for autoloaded
variables, also consider the .elc files, since the .el files are
normally gzipped (subsequent code locates the .el.gz from the .elc).
2009-09-15 02:35:47 +00:00
Glenn Morris
a87b98ce47 (describe-function-1): Mention if a function has a compiler-macro. 2009-09-11 03:40:14 +00:00
Chong Yidong
6c58c39c35 * faces.el (help-argument-name): Define it here instead of
help-fns.el, because in daemon mode help-fns.el may be loaded when
faces are still uninitialized (Bug#1078).

* help-fns.el (help-argument-name): Move defface to faces.el.
2009-08-13 15:59:34 +00:00
Chong Yidong
b6ce92f1c4 * help-fns.el (describe-variable): Treat list return values from
dir-locals-find-file properly (Bug#4005).
2009-08-02 23:09:00 +00:00
Glenn Morris
589a99f2f6 (describe-variable): Describe ignored and risky local
variables in a similar way to that in which we describe safe ones.
2009-07-23 02:55:34 +00:00
Juri Linkov
2ee20f24e8 (describe-variable): Add information about file-local and dir-local variables. 2009-07-19 16:56:22 +00:00
Chong Yidong
cebabb67a3 * help-fns.el (describe-function-1): Correctly locate adviced
functions in hyperlink (Bug#2438).
2009-06-28 05:06:56 +00:00
Glenn Morris
6565b5ab20 (find-lisp-object-file-name): Need a buffer position, not just a
buffer, to find a definition.
2009-02-27 04:01:22 +00:00
Glenn Morris
ae940284fa Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
Chong Yidong
63326785af (describe-function-1): Do char-range check for self-insert-command. 2008-11-15 06:19:12 +00:00
Kenichi Handa
c6ec96f84a (describe-categories): Display the terse legend at the head. 2008-10-25 01:31:35 +00:00
Martin Rudalics
e8e8dbf923 (describe-function-1, describe-variable): Print
relative file name in help buffer.
2008-09-24 16:13:35 +00:00
Martin Rudalics
1113ff4400 (describe-function-1): Don't print extra newline
after filling.
2008-09-08 06:52:47 +00:00
Martin Rudalics
ed66e23539 (find-lisp-object-file-name): Handle case where
library is compressed.
2008-09-08 06:36:51 +00:00
Martin Rudalics
35fac1a521 (describe-simplify-lib-file-name, find-source-lisp-file): Removed.
(find-lisp-object-file-name): New function giving preference to
files found via load-path instead of loaddefs.el.
(describe-function-1): Use new function instead of the removed
ones.  (Bugs #587, #669, #690)
2008-09-01 08:04:40 +00:00
Glenn Morris
dbe6b8bb06 (describe-function-1): Handle broken aliases. (Bug#825) 2008-08-30 03:26:14 +00:00
Adrian Robert
14f798ff7e apply patch from Seiji Zenitani to find doc strings in ns*.m files 2008-07-28 13:19:10 +00:00
Stefan Monnier
2e6750c8f8 * help.el (function-called-at-point):
* help-fns.el (variable-at-point): Use emacs-lisp-mode-syntax-table
even when calling find-tag-default.
2008-06-06 20:02:42 +00:00
John Paul Wallington
22a1385df5 (describe-variable-custom-version-info): Handle dotted
`package-version' info.
2008-05-31 18:19:05 +00:00
Glenn Morris
eb3fa2cfcf Switch to recommended form of GPLv3 permissions notice. 2008-05-06 08:06:51 +00:00
Chong Yidong
526792a318 (describe-variable): Undo 2008-02-25 change. 2008-04-03 04:01:32 +00:00
Juanma Barranquero
fdb5bd87c4 (describe-function-1, describe-variable): If CURRENT-NAME is nil,
don't end obsolescence info with semicolon.
2008-03-26 14:49:15 +00:00
Stefan Monnier
67af6bdd7b (describe-function-1, describe-variable): If no
replacement is provided, don't print "use nil instead".
2008-03-26 02:36:45 +00:00
Stefan Monnier
55067594aa (describe-function-1): Don't signal "missing arglist" for autoloaded keymaps. 2008-03-19 18:21:52 +00:00
Robert J. Chassell
7f9629ce03 (describe-variable): Add phrases about initialization file with and
without customization; use new button type help-info-variable.
2008-02-25 16:31:25 +00:00
Bastien Guerry
b96817c387 2008-02-11 Drew Adams <drew.adams@oracle.com>
* help.el (describe-key): Joined some split lines to facilitate
	filling.
	* help-fns.el (describe-function-1): Fill text of overlong lines.
2008-02-12 07:10:49 +00:00
Miles Bader
59ce725a3b Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Glenn Morris
409cc4a3ea Add 2008 to copyright years. 2008-01-07 02:45:14 +00:00
Richard M. Stallman
b2f2cd56b1 (describe-function-1): Call ad-get-advice-info only on symbols. 2007-12-06 13:30:14 +00:00
Glenn Morris
2c52d7a3b2 Remove directory part from filenames in function declarations. 2007-12-06 04:05:51 +00:00
Dan Nicolaescu
e8ffb999b9 * frame.el (msdos-mouse-p):
* generic-x.el (w32-shell-name):
* files.el (msdos-long-file-names, w32-long-file-name)
(msdos-long-file-names, dired-get-filename, dired-unmark)
(dired-do-flagged-delete, dos-8+3-filename, vms-read-directory)
(view-mode-disable):
* term/mac-win.el (mac-code-convert-string, mac-coerce-ae-data)
(mac-resume-apple-event, mac-font-panel-mode)
(mac-atsu-font-face-attributes, mac-ae-set-reply-parameter)
(mac-clear-font-name-table):
* term/pc-win.el (msdos-remember-default-colors)
(w16-set-clipboard-data, w16-get-clipboard-data):
* term/w32-win.el (w32-send-sys-command, w32-select-font)
(set-message-beep):
* w32-fns.el (set-message-beep, w32-get-clipboard-data)
(w32-get-locale-info, w32-get-valid-locale-ids)
(w32-set-clipboard-data):
* help-fns.el (ad-get-advice-info):
* font-lock.el (fast-lock-after-fontify-buffer)
(fast-lock-after-unfontify-buffer, fast-lock-mode)
(lazy-lock-after-fontify-buffer)
(lazy-lock-after-unfontify-buffer, lazy-lock-mode):
* net/browse-url.el (w32-shell-execute):
* dos-fns.el (int86, msdos-long-file-names):
* dos-w32.el (default-printer-name): Declare as functions.
2007-11-21 03:06:01 +00:00
Martin Rudalics
aa13a09404 (describe-function, describe-variable)
(describe-syntax, describe-categories):
Use with-help-window instead of with-output-to-temp-buffer.
2007-11-10 09:59:54 +00:00
John Paul Wallington
05849e2ab9 (describe-variable-custom-version-info): New function to return
variable's version or package version note.
(describe-variable): Use it, display result.
2007-10-20 01:50:38 +00:00
Richard M. Stallman
07894d421f Whitespace fix. 2007-10-19 01:13:01 +00:00
Richard M. Stallman
dd3f89d717 (describe-function-1): Don't use the advice origname
if it has no function definition yet.
2007-10-19 01:12:43 +00:00
Juanma Barranquero
0c2ab38964 Revert previous change; it creates a dependency
loop between advice.el and help-fns.el.
2007-10-15 14:21:23 +00:00
Juanma Barranquero
20beebfe74 Require advice when compiling. 2007-10-15 09:33:12 +00:00
Richard M. Stallman
72a2003200 (describe-function-1): Find source of advised functions. 2007-10-14 22:49:39 +00:00
Stefan Monnier
a888f521f0 (describe-variable): Add missing " " for multiline
obsolescence info and missing EOL after global value.
2007-10-10 19:18:53 +00:00
Stefan Monnier
ed2a19a193 (describe-variable): Slightly change the layout of
meta-info to separate it better from the docstring.
Standardize insertion of extra empty lines in various circumstances.
2007-10-09 04:25:14 +00:00
Glenn Morris
fccd9537b1 Johan Bockg� <bojohan at dd.chalmers.se>
(describe-variable): Keep doc's text properties.
2007-09-06 05:53:42 +00:00
Miles Bader
9899d01a0c Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 824-838)

   - Update from CVS
   - Merge from emacs--rel--22
   - Remove lisp/erc/erc-nicklist.el
   - Update some .arch-inventory files
   - Fix void function definition error in cus-edit.el
   - Restore lisp/emacs-lisp/cl-loaddefs.el

 * emacs--rel--22  (patch 70-83)

   - Update from CVS
   - Remove lisp/erc/erc-nicklist.el
   - Update some .arch-inventory files
   - Indicate that emacs--devo--0--patch-834 does not need to be applied
   - Merge from gnus--rel--5.10
   - Restore lisp/emacs-lisp/cl-loaddefs.el

 * gnus--rel--5.10  (patch 239-241)

   - Merge from emacs--devo--0
   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--multi-tty--0--patch-28
2007-07-31 05:50:45 +00:00
Miles Bader
9aecacd08a Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 70-73)

   - Update from CVS

2007-07-25  Glenn Morris  <rgm@gnu.org>

   * Relicense all FSF files to GPLv3 or later.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-828
2007-07-26 05:28:10 +00:00
Glenn Morris
b4aa60262c Switch license to GPLv3 or later. 2007-07-25 04:50:21 +00:00