summaryrefslogtreecommitdiff
path: root/lisp/help-fns.el
Commit message (Collapse)AuthorAgeFilesLines
* * lisp/help-fns.el (describe-variable): Add quotes to symbol value of origval.Juri Linkov2019-11-031-1/+5
|
* Added face parameter :extend.Jimmy Aguilar Mena2019-10-141-0/+1
| | | | | This is an initial change to add a parameter :extend that will be used in the display engine later.
* (help-fns--var-aliases): Fix compilation warning in previous patch.Lars Ingebrigtsen2019-10-141-1/+1
|
* Make `C-h v' list all aliases a variable hasLars Ingebrigtsen2019-10-141-0/+24
| | | | * lisp/help-fns.el (help-fns--var-aliases): New function (bug#15179).
* Add more sanity checks to help-fns--globalized-minor-modeLars Ingebrigtsen2019-10-091-1/+2
| | | | | * lisp/help-fns.el (help-fns--globalized-minor-mode): FUNCTION can be a lambda, so protect against that.
* Make the help page mention the customizeable global mode variableLars Ingebrigtsen2019-10-011-18/+26
| | | | | | | | | | * lisp/help-fns.el (help-fns--customize-variable): Factor out into own function for reuse. (help-fns--globalized-minor-mode): Use it to mention the equivalent variable. * lisp/emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Mark globalized minor modes as such (bug#7177).
* * lisp/help-fns.el: Fix missing dependencyStefan Monnier2019-09-221-0/+1
|
* Move describe-face to the new help-fns machineryLars Ingebrigtsen2019-09-211-0/+132
| | | | | | | | | | * lisp/help-fns.el (describe-face): Move to here from faces.el and split up (bug#36670). (help-fns--face-custom-version-info): (help-fns--face-attributes): Factored out into own functions. (help-fns-describe-face-functions): New variable. * lisp/emacs-lisp/subr-x.el (when-let): Add autoload cookie.
* Make `describe-function' say that disabled functions are disabledLars Ingebrigtsen2019-08-171-0/+6
| | | | | | * lisp/help-fns.el (help-fns--disabled): New function (bug#10853). (help-fns-describe-function-functions): Add it to the list of function help functions.
* Rename variables and functions with "auto-load" in their namesLars Ingebrigtsen2019-08-151-4/+8
| | | | | | | | | | | | | | | | * doc/emacs/building.texi (Lisp Libraries): Adjust documentation. * lisp/help-fns.el (help--symbol-completion-table): Adjust usage. * lisp/help-fns.el (help-enable-completion-autoload): Change name from auto-load and declare an obsolete alias (bug#13418). * lisp/help.el (help-enable-autoload): Ditto. * lisp/progmodes/vhdl-mode.el: Ditto. (vhdl-create-mode-menu, vhdl-mode): Adjust usage. (vhdl-autoload-project): Rename from auto-load and declare an obsolete alias.
* Make describe-face also output the version informationLars Ingebrigtsen2019-07-141-5/+6
| | | | | | | | | * lisp/help-fns.el (describe-variable-custom-version-info): Allow taking a type as an optional input, so this can be used for faces, too (bug#30527). * lisp/faces.el (describe-face): Use this to output the version information.
* Revert "Make describe-face also output the version information"Lars Ingebrigtsen2019-07-141-6/+5
| | | | | | This reverts commit a7aae1473c1aed7758b550a23cda61ee17668e23. The patch broke the build.
* Make describe-face also output the version informationLars Ingebrigtsen2019-07-141-5/+6
| | | | | | | | | * lisp/help-fns.el (describe-variable-custom-version-info): Allow taking a type as an optional input, so this can be used for faces, too (bug#30527). * lisp/faces.el (describe-face): Use this to output the version information.
* Revert "* lisp/calc/calc-ext.el (math-scalarp): Fix typo"Stefan Monnier2019-06-261-3/+4
| | | | This reverts commit 698ff554ac2699ec48fefc85a1307cbc4a183b0d.
* help-C-file-name shouldn't error out if we can't find the nameJohan Claesson2019-06-261-14/+20
| | | | | | | | * lisp/help-fns.el (help-C-file-name): Make help-C-file-name return nil instead of signalling an error if we can't find the file name (bug#17250). Copyright-paperwork-exempt: yes
* * lisp/calc/calc-ext.el (math-scalarp): Fix typoStefan Monnier2019-06-261-4/+3
|
* * help-fns.el (help-fns--first-release): Do not fail if no release is found.Juanma Barranquero2019-06-031-2/+3
|
* * lisp/help-fns.el: Make hyperlink for the "first release" infoStefan Monnier2019-06-021-13/+18
| | | | | | | * lisp/help-fns.el (help-fns--first-release): Return a "button". (help-fns--mention-first-release): Preserve the string's text-properties. * lisp/help-mode.el (help-news): New button type.
* Go back to "Maintainer: emacs-devel@gnu.org"Paul Eggert2019-05-251-0/+1
| | | | | | Restore lines saying "Maintainer: emacs-devel@gnu.org" when there is no special maintainer for a file. Although this wasn't documented it was common practice and removing the lines didn't have consensus.
* Merge from origin/emacs-26Glenn Morris2019-05-221-3/+15
|\ | | | | | | | | | | | | | | | | | | b0da915 (origin/emacs-26, emacs-26) Fix a typo in ELisp manual 400907b Add option to disable help completion autoloading (Bug#28607) 122ba16 Don't segfault on force-window-update of deleted window 015b12e Fix typo in ELisp manual eadf044 Remove repeated function call in picture.el 1228a90 ; Fix mm-destroy-parts docstring typo 6cfd68d Fix Hideshow key binding typo in Emacs manual
| * Add option to disable help completion autoloading (Bug#28607)Noam Postavsky2019-05-211-3/+15
| | | | | | | | | | | | | | | | | | * lisp/help-fns.el (help-enable-completion-auto-load): New option. (help--symbol-completion-table): Consult it. * doc/emacs/building.texi (Lisp Libraries): Document it. * etc/NEWS: Announce it. * doc/lispref/loading.texi (Autoload by Prefix): New section. (Autoload): Reference it.
* | Fixes for "Maintainer:" and related linesPaul Eggert2019-05-191-1/+0
| | | | | | | | | | | | Mostly, this just removes "Maintainer: emacs-devel@gnu.org" lines, which are not that useful. It also cleans up and regularizes a few similar lines.
* | * lisp/help-fns.el (help-fns-describe-variable-functions): New hookStefan Monnier2019-04-121-168/+246
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (help-fns--compiler-macro, help-fns--parent-mode, help-fns--obsolete) (help-fns--interactive-only): Indent output by 2 spaces. (help-fns--side-effects): New function extracted from describe-function-1. (help-fns-describe-function-functions): Use it. (help-fns--first-release, help-fns--mention-first-release): New functions. (help-fns-function-description-header): Keymaps and macros can't be interactive. (help-fns--ensure-empty-line): New function. (describe-function-1): Use it. (help-fns--var-safe-local, help-fns--var-risky) (help-fns--var-ignored-local, help-fns--var-file-local) (help-fns--var-watchpoints, help-fns--var-obsolete) (help-fns--var-alias, help-fns--var-bufferlocal): New functions, extacted from describe-variable. (describe-variable): Run help-fns-describe-variable-functions instead.
* | Be more defensive regarding elements of 'load-history'Eli Zaretskii2019-03-011-2/+2
| | | | | | | | | | | | | | | | | | * lisp/loadhist.el (file-dependents): * lisp/apropos.el (apropos-library): * lisp/help-fns.el (help-fns--autoloaded-p, help--loaded-p): * lisp/emacs-lisp/package.el (package--list-loaded-files): Don't assume 'load-history' elements must have a string as their 'car'. (Bug#34462)
* | * lisp/help-fns.el (help--load-prefixes): Demote errors from files.Stefan Monnier2019-01-081-4/+5
| |
* | Merge from origin/emacs-26Paul Eggert2018-12-311-1/+1
|\| | | | | | | | | | | 2fcf2df Fix copyright years by hand 26bed8b Update copyright year to 2019 2814292 Fix value of default frame height. (Bug#33921)
| * Update copyright year to 2019Paul Eggert2019-01-011-1/+1
| | | | | | | | Run 'TZ=UTC0 admin/update-copyright $(git ls-files)'.
* | * lisp/help-fns.el (describe-symbol): Use help--symbol-completion-tableStefan Monnier2018-11-021-1/+1
| |
* | Prefer \... to control chars in .el literalsPaul Eggert2018-03-291-5/+5
| |
* | Add support for module functions to C-h f (Bug#30163).Philipp Stephani2018-02-021-0/+2
| | | | | | | | | | | | | | | | * lisp/help-fns.el (help-fns-function-description-header): Handle module functions. * test/src/emacs-module-tests.el (module/describe-function-1): New test.
* | Merge from origin/emacs-26Paul Eggert2018-01-011-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 63b04c11d5 Fix copyright years by hand 5c7dd8a783 Update copyright year to 2018 220a9ecba1 Merge from Gnulib 312c565566 Don't add empty keyboard macro to macro ring (Bug#24992) 39ca289a7a Allow customization of decoding of "man" command f8240815ea * etc/NEWS: Add security consideration note on passphrase ... 0c78822c70 Fix subtle problem with scroll-down when scroll-margin is ... acd289c5a4 Fix problems with indexing in User manual b240c7846b * lisp/help.el (describe-key): Only (copy-sequence elt) wh... e879a5444a * src/buffer.c (Frestore_buffer_modified_p): Fix bug#29846 81b1028b63 Improve documentation of 'inhibit-modification-hooks' and ... 7175496d7a Fix doc string of 'enable-recursive-minibuffers' 5b38406491 Fix documentation of delsel and of killing text # Conflicts: # etc/NEWS # etc/refcards/ru-refcard.tex
| * Update copyright year to 2018Paul Eggert2018-01-011-1/+1
| | | | | | | | Run admin/update-copyright.
* | Merge from origin/emacs-26Glenn Morris2017-11-201-3/+3
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fc5b8f1 Fix Bug#29149 5622b2e Merge branch 'emacs-26' of git.sv.gnu.org:/srv/git/emacs into... 4da8799 (emacs-26) Fix misbehavior when drawing three-pixel high hori... 1b082c8 MH-E: don't automatically download external-body parts 069f978 ; * lisp/emacs-lisp/byte-run.el: Fix a typo in a comment. 504a56c ; Fix last commit a34e44e ; Fix last commit a8892b4 Further fix for Bug#29291 d14923b Fix divider frame params on NS (bug#29352) b2518ac Spelling fixes # Conflicts: # etc/NEWS # test/lisp/net/tramp-tests.el
| * Spelling fixesPaul Eggert2017-11-191-3/+3
| | | | | | | | | | | | * lisp/help-fns.el (help-fns--analyze-function): Rename from help-fns--analyse-function. All uses changed.
* | Merge from origin/emacs-26Glenn Morris2017-10-211-2/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | 888e51f220 (origin/emacs-26) Update describe-function for recent Fdoc... 75bb482763 Make flymake's mouse-wheel interaction portable (Bug#28732) 035d7ac7e4 Prevent eldoc from changing the mode line c9d71b31bf Fix doc strings in simple.el 0d8e4f45d6 Avoid creating inconsistent buffer states in term-char-mode 79d57f4b7a New input method 'usbek-cyrillic' 4587d8e0ef Document 'minibuffer-with-setup-hook' # Conflicts: # etc/NEWS
| * Update describe-function for recent Fdocumentation changeGlenn Morris2017-10-211-2/+2
| | | | | | | | | | * lisp/help-fns.el (describe-function-1): Handle Fdocumentation returning either void or invalid.
| * * lisp/help-fns.el (describe-function-1):Stefan Monnier2017-10-201-8/+20
| | | | | | | | | | | | Fix help-fns-test-dangling-alias. (Bug#28918) (cherry picked from commit e1d42f8f4a945669ff8b5159a569cb4b18f56e18)
* | * lisp/help-fns.el (describe-function-1): Fix help-fns-test-dangling-alias.Stefan Monnier2017-10-201-8/+20
| |
* | Say that side effect-free functions don't change the matchd dataPhilipp Stephani2017-10-081-0/+4
|/ | | | | * lisp/help-fns.el (describe-function-1): Add note if a function is known not to change the match data.
* Prefer HTTPS to FTP and HTTP in documentationPaul Eggert2017-09-131-1/+1
| | | | | | | | | | | | | Most of this change is to boilerplate commentary such as license URLs. This change was prompted by ftp://ftp.gnu.org's going-away party, planned for November. Change these FTP URLs to https://ftp.gnu.org instead. Make similar changes for URLs to other organizations moving away from FTP. Also, change HTTP to HTTPS for URLs to gnu.org and fsf.org when this works, as this will further help defend against man-in-the-middle attacks (for this part I omitted the MS-DOS and MS-Windows sources and the test tarballs to keep the workload down). HTTPS is not fully working to lists.gnu.org so I left those URLs alone for now.
* Use cl-print for all values printed by `describe-variable'Noam Postavsky2017-08-291-2/+8
| | | | | * lisp/help-fns.el (describe-variable): Use cl-prin1 for original and global values too.
* * lisp/emacs-lisp/bytecomp.el: Fix bug#14860.Stefan Monnier2017-07-141-1/+0
| | | | | | | | | | | | | | | | * lisp/emacs-lisp/bytecomp.el (byte-compile--function-signature): New fun. Dig into advice wrappers to find the "real" signature. (byte-compile-callargs-warn, byte-compile-arglist-warn): Use it. (byte-compile-arglist-signature): Don't bother with "new-style" arglists, since bytecode functions are now handled in byte-compile--function-signature. * lisp/files.el (create-file-buffer, insert-directory): Remove workaround introduced for (bug#14860). * lisp/help-fns.el (help-fns--analyse-function): `nadvice` is preloaded. * lisp/help.el (help-function-arglist): Dig into advice wrappers to find the "real" signature.
* Convert more uses of looking-at to following-charMark Oteiza2017-07-061-3/+3
| | | | | | | | | | | | More followup to Karl Fogel's commit a84da83c1. * lisp/dired-aux.el (dired-add-entry, dired-subdir-hidden-p): * lisp/dired-x.el (dired-mark-unmarked-files, dired-mark-sexp): * lisp/help-fns.el (doc-file-to-man, doc-file-to-info): * lisp/proced.el (proced-toggle-marks): * lisp/progmodes/f90.el (f90-indent-line): * lisp/ses.el (ses-load): * lisp/tar-mode.el (tar-expunge): Replace instances of looking-at with char comparisons using following-char.
* * lisp/emacs-lisp/cl-print.el (cl-print-compiled-button): t by default.Noam Postavsky2017-07-021-4/+1
| | | | | | * lisp/emacs-lisp/debug.el (debugger-insert-backtrace): * lisp/help-fns.el (describe-variable): No need to let-bind `cl-print-compiled-button' to t anymore.
* * lisp/help-fns.el (describe-variable): Let-bind cl-print-compiled-button.Noam Postavsky2017-06-301-1/+4
|
* Don't read eshell/which output from *Help* buffer (Bug#26894)Noam Postavsky2017-06-271-46/+57
| | | | | | | | | | * lisp/help-fns.el (help-fns--analyse-function) (help-fns-function-description-header): New functions, extracted from describe-function-1. (describe-function-1): Use them. * lisp/eshell/esh-cmd.el (eshell/which): Use `help-fns-function-description-header' instead of `describe-function-1'.
* Fix bug #26529: C-h k errors with a lambda function bound to a key.Alan Mackenzie2017-04-161-2/+4
| | | | | | * lisp/help-fns.el (help-fns--signature, describe-function-1): Check `function' is a symbol before trying to get property `reader-construct' from it.
* * lisp/help-fns.el (describe-symbol): `nil' is not an interesting default.Stefan Monnier2017-04-061-2/+2
|
* * lisp/help-fns.el (describe-variable): Use cl-print for the valueStefan Monnier2017-03-021-5/+12
| | | | Use `pp-buffer' rather than `pp' so as to avoid calling prin1 twice.
* Small help--loaded-p fixGlenn Morris2017-03-011-1/+1
| | | | | * lisp/help-fns.el (help--loaded-p): Handle entry in load-history with nil file name. (Bug#25847)