summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/find-func.el
Commit message (Collapse)AuthorAgeFilesLines
* Autoload more carefully from Lisp. Follow aliases for function properties.Stefan Monnier2012-07-251-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/subr.el (autoloadp): New function. (symbol-file): Use it. (function-get): New function. * lisp/emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and autoload-do-load. * lisp/emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function) (lisp-indent-function): * lisp/emacs-lisp/gv.el (gv-get): * lisp/emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec): * lisp/emacs-lisp/byte-opt.el (byte-optimize-form): * lisp/emacs-lisp/bytecomp.el (byte-compile-arglist-warn): * lisp/emacs-lisp/autoload.el (make-autoload, autoload-print-form): Use function-get. * lisp/emacs-lisp/cl.el: Don't propagate function properties any more. * src/eval.c (Fautoload_do_load): Rename from do_autoload, export to Lisp, add argument, tune behavior, and adjust all callers. * lisp/speedbar.el (speedbar-add-localized-speedbar-support): * lisp/emacs-lisp/disass.el (disassemble-internal): * lisp/desktop.el (desktop-load-file): * lisp/help-fns.el (help-function-arglist, find-lisp-object-file-name) (describe-function-1): * lisp/emacs-lisp/find-func.el (find-function-noselect): * lisp/emacs-lisp/elp.el (elp-instrument-function): * lisp/emacs-lisp/advice.el (ad-has-proper-definition): * lisp/apropos.el (apropos-safe-documentation, apropos-macrop): * lisp/emacs-lisp/debug.el (debug-on-entry): * lisp/emacs-lisp/cl-macs.el (cl-compiler-macroexpand): * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand): * lisp/calc/calc.el (name): Use autoloadp & autoload-do-load.
* Add 2012 to FSF copyright years for Emacs filesGlenn Morris2012-01-051-1/+1
|
* * emacs-lisp/find-func.el (find-function-read): Fix incorrect use of default ↵thierry volpiatto2011-11-081-23/+17
| | | | argument in `completing-read'.
* * lisp/emacs-lisp/find-func.el (find-function-C-source): Only setStefan Monnier2011-09-061-7/+8
| | | | | | | find-function-C-source-directory after checking that we found a source file there. Fixes: debbugs:9440
* Improve Edebug error for attempting to instrument built-in functions.Chong Yidong2011-08-211-1/+7
| | | | | | | | | | * lisp/emacs-lisp/edebug.el (edebug-instrument-function): Use it to signal an error for built-in functions. * lisp/emacs-lisp/find-func.el (find-function-noselect): New arg lisp-only. Fixes: debbugs:6664
* * lisp/emacs-lisp/find-func.el (find-library--load-name): New fun.Stefan Monnier2011-06-301-1/+20
| | | | | | | (find-library-name): Use it to find relative load names when provided absolute file name. Fixes: debbugs:8803
* Convert consecutive FSF copyright years to ranges.Glenn Morris2011-01-241-2/+1
|
* Nuke arch-tags.Glenn Morris2011-01-151-1/+0
|
* Merge from emacs-23Stefan Monnier2011-01-141-1/+1
|\
| * Add 2011 to FSF/AIST copyright years.Glenn Morris2011-01-021-1/+1
| |
* | * lisp/emacs-lisp/find-func.el (find-library): Use test-completion.Stefan Monnier2010-10-211-7/+5
|/
* Add 2010 to copyright years.Glenn Morris2010-01-131-1/+1
|
* (find-library-name, find-library): Doc fixes.Chong Yidong2009-02-111-2/+4
|
* Add 2009 to copyright years.Glenn Morris2009-01-051-1/+1
|
* (find-function-advised-original): New.Glenn Morris2008-11-151-6/+22
| | | | | | | (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.
* apply patch from Seiji Zenitani to find doc strings in ns*.m filesAdrian Robert2008-07-281-1/+1
|
* Switch to recommended form of GPLv3 permissions notice.Glenn Morris2008-05-061-6/+4
|
* * files.el (locate-file-completion-table): Rename fromStefan Monnier2008-04-191-4/+8
| | | | | | | | | | 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.
* (find-function-search-for-symbol): Strip extensionMartin Rudalics2008-01-291-2/+6
| | | | from .emacs.el to make sure symbol is searched in .emacs too.
* (find-library): Wrap search for library name in condition-caseMartin Rudalics2008-01-251-5/+11
| | | | to avoid reporting a scan-error.
* Merge from emacs--rel--22Miles Bader2008-01-081-1/+1
|\ | | | | | | Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
| * Add 2008 to copyright years.Glenn Morris2008-01-071-1/+1
| |
* | Merge from emacs--rel--22Miles Bader2007-12-281-0/+1
|\| | | | | | | Revision: emacs@sv.gnu.org/emacs--devo--0--patch-966
| * (find-function-after-hook): Add :type.Richard M. Stallman2007-12-151-0/+1
| |
| * Default argument for find-libraryVinicius Jose Latorre2007-10-311-5/+15
| |
* | Make `find-function' prefer ".el" over "" to fix a bug (see emacs-devel)Deepak Goel2007-12-051-4/+8
| |
* | Default argument for find-libraryVinicius Jose Latorre2007-10-311-5/+15
| |
* | Don't require loadhist.Juanma Barranquero2007-10-171-2/+0
|/
* Switch license to GPLv3 or later.Glenn Morris2007-07-251-1/+1
|
* Add 2007 to copyright years.Glenn Morris2007-01-211-1/+1
|
* (find-variable): Doc fix.Eli Zaretskii2006-12-091-1/+1
|
* (find-library-name): Don't strip ".el" from library name (reverts changeRomain Francoise2006-11-211-3/+3
| | | | of 2005-10-25).
* (find-function-noselect, find-function, find-variable-noselect, find-variable,Juanma Barranquero2006-11-031-6/+6
| | | | find-definition-noselect, find-face-definition): Use "non-nil" in docstrings.
* (find-function-regexp): Don't match "define-button-type".Stefan Monnier2006-10-021-1/+1
|
* (find-function-search-for-symbol): Expand comment.Nick Roberts2006-07-231-1/+4
|
* (find-function-search-for-symbol): Handle "C-h f `".Nick Roberts2006-07-221-1/+3
|
* (find-function-search-for-symbol):Richard M. Stallman2006-07-121-4/+9
| | | | | | | 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.
* (find-function-search-for-symbol): Add comments.Stefan Monnier2006-04-131-0/+8
|
* (find-function-regexp): Allow dashes in defun name, in similar fashionBill Wohler2006-04-101-1/+1
| | | | to find-variable-regexp.
* (find-function-search-for-symbol): Fix regexp so the defined var/fun doesn'tStefan Monnier2006-04-101-1/+1
| | | | need to be quoted.
* (find-library-suffixes): Use `get-load-suffixes' instead of `load-suffixes'.Luc Teirlinck2006-02-271-2/+2
| | | | (find-library-name): Use `load-file-rep-suffixes' instead of '("").
* Update years in copyright notice; nfc.Thien-Thi Nguyen2006-02-061-1/+1
|
* (find-definition-noselect): Minor doc fix.Luc Teirlinck2006-02-051-1/+1
|
* (find-definition-noselect, find-variable-noselect): Search variables inEli Zaretskii2006-01-211-22/+27
| | | | | | | 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.
* (find-definition-noselect): Fix typo in a doc string: "functoin" => "function".Eli Zaretskii2006-01-061-1/+1
|
* (find-function-regexp):Juri Linkov2005-12-041-3/+8
| | | | | | | 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.
* (find-library-name): Also strip extension if library name ends in .el,Romain Francoise2005-10-251-3/+3
| | | | to take advantage of `find-library-suffixes'.
* (find-library-name): Doc fix.Richard M. Stallman2005-10-211-1/+1
|
* message format spec fixes, commit # 9Deepak Goel2005-09-181-1/+1
|
* Update years in copyright notice; nfc.Thien-Thi Nguyen2005-08-061-1/+2
|