1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-19 10:22:27 +00:00
Commit Graph

48 Commits

Author SHA1 Message Date
Stefan Monnier
4479a2f89a (find-function-C-source-directory): New var.
(find-function-C-source): New fun.
(find-function-search-for-symbol): Use it.
2004-04-29 18:39:14 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Richard M. Stallman
cb4f3fc8a8 (find-function-on-key): Move the call to find-function-other-window
outside the save-excursion.
2003-05-19 14:47:46 +00:00
Juanma Barranquero
a1506d2977 Trailing whitepace deleted. 2003-02-04 13:24:35 +00:00
Dave Love
7b1824c287 (find-variable-noselect): Make it work
with new load-history format.
2003-01-03 21:12:01 +00:00
Stefan Monnier
1a40d81d1a (find-library-name): Correctly find "f.el.gz" from "f.elc" or "f.elc.gz". 2002-09-25 18:58:37 +00:00
Stefan Monnier
43ce8949e9 (find-library-name): Typo. 2002-09-12 21:49:55 +00:00
Stefan Monnier
4dbf594b9f (find-library-name): Don't forget the empty suffix. Fix stale variable name. 2002-09-12 21:48:20 +00:00
Stefan Monnier
f77a605054 (find-library-suffixes, find-library-name)
(find-library): New funs.
(find-function-search-for-symbol): Use it.
2002-09-09 21:50:36 +00:00
John Paul Wallington
cb0fd101b9 * emacs-lisp/cl-indent.el (extended-loop-p): Doc fix.
* emacs-lisp/find-func.el (find-function-recenter-line): Add
custom type.  Doc fix.
2002-09-07 06:45:43 +00:00
Juanma Barranquero
2251e3edaf (find-function-search-for-symbol): Fix spacing. 2002-09-06 07:13:27 +00:00
Stefan Monnier
b88b46f269 (find-function-search-for-symbol): Use find-file-hook instead of ...-hooks. 2002-08-15 00:08:48 +00:00
Richard M. Stallman
2bef95e520 (find-function-search-for-symbol): Obey `definition-name' properties. 2002-08-13 01:49:40 +00:00
Stefan Monnier
54cabb1b65 (find-function-search-for-symbol): Find funs defined with defun-cvs-mode.
(find-function-space-re): New const.  Skips comments as well.
(find-function-regexp, find-variable-regexp): Use it.
2002-05-16 20:11:23 +00:00
Markus Rost
4562c2e45f (find-function-search-for-symbol): Handle more whitespace/newline
combinations in symbol definitions.
2002-05-12 19:05:37 +00:00
Markus Rost
a4f430482b (find-function-search-for-symbol): Add autoload cookie.
(find-function-regexp):  Include "\(quote " to match the defaliases in
loaddefs.el.
2002-05-08 16:42:09 +00:00
Markus Rost
fe75e6d023 (find-function-search-for-symbol): Use with-syntax-table. 2002-05-06 21:12:42 +00:00
Markus Rost
77186c6280 (find-function-search-for-symbol): Bind case-fold-search when searching. 2002-05-04 15:42:34 +00:00
Stefan Monnier
1c787e34e5 (find-function-search-for-symbol):
If the regexp doesn't match, use a looser one.
(find-variable-noselect): Add `file' argument.
2001-10-30 04:51:55 +00:00
Gerd Moellmann
d2922337c4 (find-function-regexp): Add
easy-mmode-define-global-mode to the regexp.  Allow newlines
in front of the function name.
2001-07-25 15:04:21 +00:00
Pavel Janík
e8af40eed4 Some fixes to follow coding conventions. 2001-07-16 12:23:00 +00:00
Stefan Monnier
8d8ca3cf8a (find-function-do-it): Quote the hook. 2000-11-03 22:40:21 +00:00
Dave Love
f35a761820 (find-variable-regexp): Avoid defgroup. 2000-11-02 17:42:10 +00:00
Dave Love
a469e8baa8 (find-function-regexp): Remove spurion.
Fix for define-minor-mode.
(function-at-point): Alias to function-called-at-point.
2000-10-06 18:35:24 +00:00
Dave Love
b185f63a8c Fix last change. 1999-11-25 14:41:30 +00:00
Dave Love
d8f479c6d2 (find-function-regexp): Use `define-minor-mode' after easy-menu
change.
1999-11-23 19:12:27 +00:00
Richard M. Stallman
848e837103 (find-function-regexp): Allow a ) or ( to end a function name. 1999-08-29 18:15:29 +00:00
Dave Love
43920c2644 (find-function-on-key): Fix previous
change.
1999-01-13 12:42:28 +00:00
Dave Love
4a8ea8dc2d (find-function-on-key): DTRT for mouse
bindings.
1999-01-10 18:18:58 +00:00
Dave Love
c7efc2893d More doc fixes. 1999-01-07 19:24:50 +00:00
Richard M. Stallman
d3d4fb6247 Doc fixes.
(find-function-regexp): Extend for define-generic-mode,
define-derived-mode, easy-mmode-define-minor-mode.
1999-01-06 20:03:53 +00:00
Dave Love
78b6524e5c (find-function-search-for-symbol):
Remove unnecessary test on `library' for explicit file name.
Widen scope of save-match-data.
1998-12-11 17:42:56 +00:00
Richard M. Stallman
6c3bfd2d92 (find-function-regexp): Handle skeletons. 1998-11-19 18:43:35 +00:00
Karl Heuer
e1acbda2a6 (find-variable-noselect): Autoload. 1998-11-07 02:05:38 +00:00
Karl Heuer
917eabae09 (find-function-search-for-symbol): Fix error messages. 1998-09-21 16:35:21 +00:00
Dave Love
5134d850aa (find-function-search-for-symbol): Look
for compressed library files too.
1998-08-27 09:21:01 +00:00
Andreas Schwab
a62234679c Fix :version tags to have a string value, not a float. 1998-08-26 09:41:07 +00:00
Richard M. Stallman
aa8c396e4a (find-function-search-for-symbol): Ignore directories
when looking for a library file.
1998-08-01 19:15:12 +00:00
Richard M. Stallman
8a8a9abe0c (find-function-noselect): Autoload cookie. 1998-07-29 23:04:24 +00:00
Richard M. Stallman
86f281250c (find-function-regexp): Added :version 20.3.
(find-variable-regexp, find-function-after-hook): Likewise.
(find-function-recenter-line): Likewise.
(find-function-recenter-line): Remove autoload cookie.
(find-function-do-it): Made more solid.  `save-excursion' around
call to `find-function-noselect'.  `find-function-other-window'
and `find-function-other-frame' point behaviour should be correct
now when function in a current buffer.
(find-function-setup-keys): New function to set up keybindings.
1998-07-14 23:42:21 +00:00
Richard M. Stallman
2cd6a032aa Require `loadhist'. Variable
(find-function-function) variable removed.
(find-function-regexp): New variable, taken from former constant
in `find-function-noselect'.  Can now find function definitions
with parameters on a new line.
(find-variable-regexp): New variable.
(find-function-recenter-line): New variable.
(find-function-after-hook): New variable.
(find-function-search-for-symbol): subroutine, from
of `find-function-noselect'
(find-function-search-for-symbol): `regexp-quote' the symbol name:
needed to find-function `mapcar*' for example.
(find-function-noselect): Improved docstring.  Don't include
`library' in let.
Use `symbol-file' instead of `describe-symbol-find-file'
(find-function-read): Renamed from `find-function-read-function'.
With optional arg now read a variable.
(find-function-read): Separate `completing-read' calls for
variables and functions.
(find-function-do-it): If buffer found was already current push
mark. Added parameter to indicate if a variable is being searched for.
(find-function-do-it): Mention new `find-function-recenter-line'
and `find-function-after-hook' in docstring.  Use them.
(find-function): Remove optional arg.  Use `find-function-do-it'
and `find-function-read'.
(find-function-other-window): ditto.
(find-function-other-frame): ditto.
(find-function): Mention `find-function-recenter-line' and
`find-function-after-hook' in docstring.
(find-function-other-window): Remove most of docstring and add
reference to `find-function' instead.
(find-function-other-frame): Ditto.
(find-variable-noselect): New function for finding the point of
definition of variables, modeled on `find-function-noselect'.
(find-variable-noselect): Use `symbol-file' instead of
`describe-symbol-find-file'.
(find-variable): New function.
(find-variable-other-window): Ditto.
(find-variable-other-frame): Ditto.
(find-variable): Mention `find-function-recenter-line' and
`find-function-after-hook' in docstring.
(find-variable-other-window): Remove most of docstring and add
reference to `find-variable' instead.
(find-variable-other-frame): Ditto.
(find-function-on-key): Simplified.  Removed stuff now taken care
of by interactive "k".
(find-function-at-point): New function.
(find-variable-at-point): Ditto.
1998-06-29 17:23:25 +00:00
Richard M. Stallman
8b0697787a (find-function-on-key): Don't discard up event after down event. 1998-06-14 19:04:40 +00:00
Karl Heuer
961c963df3 (find-function-noselect): Don't call
format twice with the error message.  Quote the function name
before splicing into regexp.
1998-06-03 14:39:19 +00:00
Richard M. Stallman
1f43a8c647 (find-function-noselect): Autoload it. 1998-05-09 19:53:47 +00:00
Richard M. Stallman
89ec7f07d1 (find-function-on-key):
If definition is a list, don't call find-function-other-window.
Handle mouse events (code copied from describe-key-briefly).
(find-function-do-it): Doc fix.
(find-function-noselect): Doc fix.
1998-04-17 00:43:15 +00:00
Stephen Eglen
0b5bb3ec88 Customized. 1998-02-22 22:01:28 +00:00
Dave Love
b07745ec41 (find-function, find-function-other-window, find-function-other-frame,
find-function-on-key): Add autoload cookies.
1997-10-25 13:32:06 +00:00
Dave Love
fffee8be90 Initial revision 1997-10-25 13:18:56 +00:00