Commit graph

98 commits

Author SHA1 Message Date
Glenn Morris
114f9c9679 Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
Chong Yidong
352f6bff86 (find-library-name, find-library): Doc fixes. 2009-02-11 02:25:06 +00:00
Glenn Morris
ae940284fa Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
Glenn Morris
f5e7fdddfb (find-function-advised-original): New.
(find-function-C-source, find-function-noselect):
Use find-function-advised-original to handle advised funcs.  (Bug#789)

(find-function-noselect): Add missing "is" in alias message.
2008-11-15 23:36:26 +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
Glenn Morris
d6cba7ae45 Switch to recommended form of GPLv3 permissions notice. 2008-05-06 03:21:21 +00:00
Stefan Monnier
e8dab97599 * files.el (locate-file-completion-table): Rename from
locate-file-completion and make it use `pred' in the normal way.
(locate-file-completion): New compatibility wrapper.
(load-library): Use locate-file-completion-table.
* emacs-lisp/find-func.el (find-library): Likewise.
* info.el: Use with-current-buffer and inhibit-read-only.
(Info-read-node-name-2): Change to use `predicate' in the normal way.
(Info-read-node-name-1): Adjust uses accordingly.
2008-04-19 03:33:13 +00:00
Martin Rudalics
5c8a04f1a9 (find-function-search-for-symbol): Strip extension
from .emacs.el to make sure symbol is searched in .emacs too.
2008-01-29 17:40:19 +00:00
Martin Rudalics
d454552ce3 (find-library): Wrap search for library name in condition-case
to avoid reporting a scan-error.
2008-01-25 17:48:59 +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
8b72699e88 Add 2008 to copyright years. 2008-01-07 01:14:52 +00:00
Miles Bader
b17f53abc2 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-966
2007-12-28 22:26:14 +00:00
Richard M. Stallman
d83b2f1415 (find-function-after-hook): Add :type. 2007-12-15 22:39:21 +00:00
Deepak Goel
8aa8da0595 Make `find-function' prefer ".el" over "" to fix a bug (see emacs-devel) 2007-12-05 22:16:17 +00:00
Vinicius Jose Latorre
59e1bd2913 Default argument for find-library 2007-10-31 12:46:29 +00:00
Vinicius Jose Latorre
c896ea9541 Default argument for find-library 2007-10-31 12:39:44 +00:00
Juanma Barranquero
77f698ef09 Don't require loadhist. 2007-10-17 23:49:26 +00:00
Glenn Morris
e0085d62fa Switch license to GPLv3 or later. 2007-07-25 04:14:29 +00:00
Glenn Morris
f0fa15c5e5 Add 2007 to copyright years. 2007-01-21 02:48:43 +00:00
Eli Zaretskii
ebfb5ed986 (find-variable): Doc fix. 2006-12-09 12:57:03 +00:00
Romain Francoise
fef1f0f2a5 (find-library-name): Don't strip ".el" from library name (reverts change
of 2005-10-25).
2006-11-21 20:06:53 +00:00
Juanma Barranquero
373ed13578 (find-function-noselect, find-function, find-variable-noselect, find-variable,
find-definition-noselect, find-face-definition): Use "non-nil" in docstrings.
2006-11-03 15:09:49 +00:00
Stefan Monnier
8f1a5a9b18 (find-function-regexp): Don't match "define-button-type". 2006-10-02 02:27:12 +00:00
Nick Roberts
35b6eb23c6 (find-function-search-for-symbol): Expand comment. 2006-07-23 21:21:29 +00:00
Nick Roberts
7358462606 (find-function-search-for-symbol): Handle "C-h f `". 2006-07-22 22:51:11 +00:00
Richard M. Stallman
39ff5f6495 (find-function-search-for-symbol):
If can't find definition, return nil for position.
(find-function-do-it): Handle new return value of find-definition-noselect.
(find-definition-noselect, find-variable-noselect): Doc fix.
(find-function-noselect): Doc fix.
2006-07-12 16:03:47 +00:00
Stefan Monnier
a04e10bc37 (find-function-search-for-symbol): Add comments. 2006-04-13 14:31:23 +00:00
Bill Wohler
1d22fabd46 (find-function-regexp): Allow dashes in defun name, in similar fashion
to find-variable-regexp.
2006-04-10 22:33:51 +00:00
Stefan Monnier
2b690e5b35 (find-function-search-for-symbol): Fix regexp so the defined var/fun doesn't
need to be quoted.
2006-04-10 18:45:34 +00:00
Luc Teirlinck
f352b9d773 (find-library-suffixes): Use get-load-suffixes' instead of load-suffixes'.
(find-library-name): Use `load-file-rep-suffixes' instead of '("").
2006-02-27 02:03:00 +00:00
Thien-Thi Nguyen
ceb4c4d303 Update years in copyright notice; nfc. 2006-02-06 12:31:40 +00:00
Luc Teirlinck
c67a6c4884 (find-definition-noselect): Minor doc fix. 2006-02-05 05:58:26 +00:00
Eli Zaretskii
3bdedbcb8c (find-definition-noselect, find-variable-noselect): Search variables in
C source code too.
(find-function-C-source, find-function-noselect, find-function)
(find-function-other-frame, find-variable-noselect, find-variable)
(find-variable-other-frame, find-variable-at-point): Fix docstrings.
2006-01-21 20:39:30 +00:00
Eli Zaretskii
43c7b3019a (find-definition-noselect): Fix typo in a doc string: "functoin" => "function". 2006-01-06 12:03:41 +00:00
Juri Linkov
aa4a1bf805 (find-function-regexp):
Add define-global-minor-mode.  Replace `easy-mmode-define-global-mode'
with `easy-mmode-define-[a-z-]+'.  Add easy-menu-define.
(find-variable-regexp): Add easy-mmode-defmap, easy-mmode-defsyntax
and easy-menu-define.
2005-12-04 02:35:20 +00:00
Romain Francoise
53aaf457fe (find-library-name): Also strip extension if library name ends in .el,
to take advantage of `find-library-suffixes'.
2005-10-25 19:25:23 +00:00
Richard M. Stallman
b44da9f16b (find-library-name): Doc fix. 2005-10-21 17:22:25 +00:00
Deepak Goel
55aed1209c message format spec fixes, commit # 9 2005-09-18 12:40:26 +00:00
Thien-Thi Nguyen
3731a85096 Update years in copyright notice; nfc. 2005-08-06 17:48:15 +00:00
Juri Linkov
09ca832919 (find-function-regexp): Add `define-compilation-mode'. 2005-07-19 14:23:02 +00:00
Lute Kamstra
3a35cf56e7 Update FSF's address. 2005-07-04 17:55:18 +00:00
Masatake YAMATO
6dfa731f20 * emacs-lisp/find-func.el (find-function-noselect): Handle
subroutines.
* help-fns.el (help-C-file-name): Added autoload mark for
`find-function-noselect'.
2005-05-30 18:06:02 +00:00
Juri Linkov
fe3947c39d (find-function-regexp): Add defun-emitting macro `menu-bar-make-toggle'. 2005-03-16 07:41:57 +00:00
Kim F. Storm
bf247b6ed0 Change release version from 21.4 to 22.1 throughout.
Change development version from 21.3.50 to 22.0.50.
2005-02-09 15:50:47 +00:00
Richard M. Stallman
c7ce7fc43b (find-face-definition): Renamed from find-face. 2005-01-07 02:52:29 +00:00
Richard M. Stallman
436c08c288 (find-variable, find-variable-other-window, find-variable-other-frame):
Fix the TYPE args to find-function-read and find-function-do-it.
(find-function): Doc fix.
(find-function-at-point): Replace function-at-point alias.
2005-01-05 19:31:57 +00:00
Richard M. Stallman
0acffda1d3 Doc fixes.
(find-face-regexp): New variable.
(find-function-regexp-alist): New variable.
(find-function-C-source): Third arg is now TYPE.
(find-function-search-for-symbol): Handle general TYPE.
(find-function-read, find-function-do-it): Handle general TYPE.
(find-definition-noselect, find-face): New functions.
(function-at-point): Alias deleted.
2005-01-05 01:08:24 +00:00
Stefan Monnier
1b60b25ac3 (find-variable-regexp): Avoid defface. 2005-01-03 22:05:12 +00:00
Richard M. Stallman
9f14330b7b (find-function-noselect): Call symbol-file with `defun'.
(find-variable-noselect): Call symbol-file with `defvar'.
2004-12-27 16:17:10 +00:00
Juri Linkov
b0339ffd83 (find-function-regexp): Optimize define-minor-mode'. Add defun-cvs-mode'.
Add `deffoo'.  Add `f' to [^cgv] to exclude `defface'.
Remove invalid `\W' from [^cgv\W].  Doc fix.
(find-function-search-for-symbol): Replace "\\>" with "\\_>".
2004-11-16 15:26:30 +00:00