summaryrefslogtreecommitdiff
path: root/lisp/help.el
Commit message (Collapse)AuthorAgeFilesLines
* Rename variables and functions with "auto-load" in their namesLars Ingebrigtsen2019-08-151-1/+4
| | | | | | | | | | | | | | | | * 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.
* Revert "Make `view-lossage' output of chars read from `read-char' more logical"Lars Ingebrigtsen2019-08-051-22/+12
| | | | | | This reverts commit 1abf76877847226daa5ab7e07000ac1d4aba3478. This change apparently led to problems with kmacro.
* Make `view-lossage' output of chars read from `read-char' more logicalLars Ingebrigtsen2019-08-051-12/+22
| | | | | | | | | | | * lisp/help.el (view-lossage): Use the new data format to output data from `read-char' and the like in a more understandable fashion (bug#21867). * src/keyboard.c (command_loop_1): Record (in recent_keys) the end of commands. (Frecent_keys): Don't include `end-of-command' in non-command outputs. (syms_of_keyboard): Define `end-of-command'.
* Tweak point movement in view-echo-area-messagesDrew Adams2019-07-061-3/+7
| | | | | | * lisp/help.el (view-echo-area-messages): Move the point to the end of the *Messages* buffer even if it's already displayed (bug#36343).
* 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.
* 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.el (help--read-key-sequence): Handle `switch-frame' eventsStefan Monnier2019-05-101-2/+11
| | | | | | | | | | | | | | | If you do `C-h k ... mouse-1 in other frame` (at least if you have a focus that follows the mouse), then additionally to the down-mouse-1 and mouse-1 events, a `switch-frame` event (and `select-window` event as well sometimes) is generated. When `read-key-sequence` is called with nil for `can-return-switch-frame`, this event is not returned but kept for later, which causes a subsequent `sit-for` to return nil immediately. This interfered without our "wait for double-click" which in turn prevented us from stopping after the mouse-1 click, getting stuck waiting for something else instead. (help--read-key-sequence): Pass a non-nil `can-return-switch-frame`, so the subsequent `sit-for` returns more trustworthy information.
* ; * lisp/help.el (view-lossage): Fix commentary. (Bug#35596)Eli Zaretskii2019-05-081-1/+1
|
* * lisp/help.el (function-called-at-point): Use Elisp's forward-sexp-functionStefan Monnier2019-05-011-11/+13
|
* Remove some obsolete stub files from etc/Glenn Morris2019-01-111-3/+2
| | | | | | * etc/CENSORSHIP, etc/FTP, etc/GNU, etc/LINUX-GNU, etc/MORE.STUFF: * etc/ORDERS, etc/THE-GNU-PROJECT, etc/WHY-FREE: Remove stub files that were marked obsolete 5 years ago.
* 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)'.
* | Merge from origin/emacs-26Glenn Morris2018-10-271-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | df64da8 (origin/emacs-26) * lisp/simple.el (region-extract-function):... 520c486 * lisp/simple.el (region-bounds): Doc fix. (Bug#33168) 9193db0 Improve documentation of 'process-connection-type' 106b9e1 Unify prompt for gnupg passphrase between GNU/Linux and MS-Wi... 2a41616 Doc fix of 'gnus-fetch-old-headers' 29a7644 Deactivate incorrect hyperlinking in gnus-build-sparse-thread... 53ae90f Minor copyedits in cmdargs.texi fc2e65a Improve documentation of X resource loading 13132b3 * lisp/net/tramp-sh.el (tramp-inline-compress-commands): 8361292 ; Fix sorting in admin/MAINTAINERS 92de44f Don't error when indenting malformed Lisp (Bug#30891) c3adbc8 Improve 'isearch-delete-char' documentation (Bug#32990) 6ca71ce ; * lisp/help.el (with-help-window): Remove extra space in doc. f5f9583 Improve XPM load failure message (bug#33126) f3d01d4 Avoid infloop in CPerl mode fontification 71a2d50 Fix minibuffer-help-form for lexical binding 7e8eee6 Fix some NS drawing issues (bug#32932) d72975a * lisp/gnus/mm-util.el (mm-decompress-buffer): Fix split-stri... c97a5f1 * doc/misc/calc.texi (Summary): The +/- key is 'p', not 'P'. # Conflicts: # lisp/gnus/mm-util.el
| * ; * lisp/help.el (with-help-window): Remove extra space in doc.Charles A. Roelli2018-10-251-1/+1
| |
* | Optionally add argument description in minor mode DOC (bug#10754)John Shahid2018-07-011-3/+0
| | | | | | | | | | | | | | | | | | | | | | Add a paragraph to minor mode's docstring documenting the mode's ARG usage if the supplied docstring doesn't already contain the word "ARG". * easy-mmode.el (easy-mmode--arg-docstring): New const. (easy-mmode--arg-docstring): New function. (define-minor-mode): Use them. Remove argument documentation from all minor modes.
* | Merge from origin/emacs-26Glenn Morris2018-05-251-2/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 07f8f9b (origin/emacs-26) ; * lisp/ldefs-boot.el: Update. 5cec2b0 * etc/HISTORY: Update for Emacs 26.1 release. 7c474e1 * etc/AUTHORS: Update. ddc7bea ; * ChangeLog.3: Update. 3557460 ; * admin/authors.el: Update. 2f44d2d Note caveat for backward regexp searching in docstring (Bug#3... 3145d08 Update backtrace in Emacs Lisp Intro 43a9c26 Move window-point in bibtex-search-entry 4bb2741 More fixes of Intro to Emacs Lisp c57c226 ; * doc/emacs/misc.texi (FFAP): Fix a typo. (Bug#31580) 0a51113 Add a footnote to Emacs Lisp Intro 5eabe4a ; * doc/emacs/msdos.texi (ls in Lisp): Fix a typo. (Bug#31575) d5e0ceb * lisp/help.el (with-help-window): Doc fix. (Bug#31574) e7952bd Fix some cross-references in emacs-lisp-intro.texi a897959 Minor copyedits in Emacs manual in macos.texi Conflicts: lisp/ldefs-boot.el
| * * lisp/help.el (with-help-window): Doc fix. (Bug#31574)Eli Zaretskii2018-05-241-2/+2
| |
* | Include narrowing indication in describe-modeMichael Hendricks2018-05-051-0/+4
| | | | | | | | | | | | | | * lisp/help.el (describe-mode): Include "Narrow", if narrowing is active. (Bug#31139) Copyright-paperwork-exempt: yes
* | Make help-for-help window searchable (Bug#19655)Simona Arizanova2018-04-021-0/+9
| | | | | | | | | | | | | | | | | | * lisp/help.el (help-map): Map C-s to new function search-forward-help-for-help. (help-for-help-internal): In doc-string add entry for C-s. (search-forward-help-for-help): New function. Copyright-paperwork-exempt: yes
* | Merge from origin/emacs-26Paul Eggert2018-03-201-10/+9
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 23527013c7 ; Rewrap doc string 4328d5f744 Correct Info link markup 2fb52abd9e Improve documentation of 'with-help-window' ec08c62f03 Minor improvements in building.texi 663aafe1ff * lisp/textmodes/bibtex.el (bibtex-mark-entry): activate mark 05781b2e88 ; Spelling fix aa40014ba3 * doc/emacs/building.texi (Starting GUD): Mention 'guiler'. 23072e468f Yet more proofreading of the Emacs manual ba5a372540 * doc/emacs/rmail.texi: Fix broken link. 6b2210cc29 ; Spelling fix 067c8c4f5b Fix recently-added POP doc glitch fb3dc0e8aa More proofreading of the Emacs manual a776ce7be6 Fix typo in the Emacs manual's VC chapter 7f27d42f0b Pass json-readtable-error data as a list (bug#30489) 10bd3b3af8 Improve word motion docs (Bug#30815) 2b8507fbdc Replace "carriage-return" by "carriage return" in manuals 2616cd94f1 Minor copyedits in mule.texi 36a1d52814 Fix problems caused by fontconfig-2.13.0
| * Improve documentation of 'with-help-window'Nick Helm2018-03-201-10/+9
| | | | | | | | | | | | | | | | | | * doc/lispref/help.texi (Help Functions): Change variable name to 'buffer-or-name'. * lisp/help.el (with-help-window): Change variable name to 'buffer-or-name' and rewrite the doc string, adding reference to 'help-window-setup'. (Bug#30792)
* | Remove many items obsolete since Emacs 22.1Glenn Morris2018-03-101-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Emacs 22.1 was five major releases and over decade ago. In bug reporting statistics, it's been absent for around 5 years. Ref: https://debbugs.gnu.org/stats/emacs.html This list can be reviewed before to the next release, but for now hopefully this motivates any needed external updates. * lisp/arc-mode.el (archive-mouse-extract): * lisp/bookmark.el (bookmark-exit-hooks): * lisp/comint.el (comint-use-prompt-regexp-instead-of-fields): * lisp/cus-edit.el (custom-face-save-command): * lisp/descr-text.el (describe-char-after): * lisp/desktop.el (desktop-enable, desktop-basefilename) (desktop-buffer-modes-to-save, desktop-buffer-misc-functions) (desktop-buffer-handlers, desktop-load-default): * lisp/dired-x.el (dired-omit-files-p): * lisp/frame.el (new-frame, set-default-font, delete-frame-hook) (blink-cursor): * lisp/generic-x.el (generic-define-mswindows-modes) (generic-define-unix-modes): * lisp/help.el (describe-project, view-todo): * lisp/hilit-chg.el (highlight-changes-colours): * lisp/ibuffer.el (ibuffer-elide-long-columns, ibuffer-hooks) (ibuffer-mode-hooks): * lisp/imenu.el (imenu-always-use-completion-buffer-p): * lisp/isearch.el (isearch-lazy-highlight-cleanup) (isearch-lazy-highlight-initial-delay) (isearch-lazy-highlight-interval) (isearch-lazy-highlight-max-at-a-time) (isearch-lazy-highlight-cleanup): * lisp/mwheel.el (mouse-wheel-down-button) (mouse-wheel-up-button, mouse-wheel-click-button): * lisp/novice.el (disabled-command-hook): * lisp/recentf.el (recentf-menu-append-commands-p): * lisp/savehist.el (savehist-load): * lisp/speedbar.el (speedbar-ignored-path-expressions) (speedbar-ignored-path-regexp, speedbar-add-ignored-path-regexp) (speedbar-line-path, speedbar-buffers-line-path, speedbar-path-line): * lisp/subr.el (assoc-ignore-case, assoc-ignore-representation) (x-lost-selection-hooks, x-sent-selection-hooks) (process-kill-without-query): * lisp/calendar/icalendar.el (icalendar-convert-diary-to-ical) (icalendar-extract-ical-from-buffer): * lisp/emacs-lisp/autoload.el (update-autoloads-from-directories): * lisp/emacs-lisp/derived.el (derived-mode-class): * lisp/emacs-lisp/generic.el (generic-font-lock-defaults): * lisp/emacs-lisp/timer.el (timer-set-time-with-usecs): * lisp/gnus/spam.el (spam-list-of-processors): * lisp/international/latin1-disp.el (latin1-char-displayable-p): * lisp/mail/rmail.el (rmail-pop-password, rmail-pop-password-required): * lisp/net/goto-addr.el (goto-address-at-mouse): * lisp/net/net-utils.el (ipconfig-program, ipconfig-program-options): * lisp/obsolete/iswitchb.el (iswitchb-use-fonts): * lisp/play/dunnet.el (dungeon-mode-map): * lisp/progmodes/compile.el (compilation-finish-function) * lisp/progmodes/cperl-mode.el (cperl-vc-header-alist) * lisp/progmodes/gud.el (tooltip-gud-modes, tooltip-gud-display) (tooltip-gud-toggle-dereference): * lisp/progmodes/pascal.el (pascal-outline): * lisp/progmodes/perl-mode.el (electric-perl-terminator): * lisp/textmodes/nroff-mode.el (count-text-lines) (forward-text-line, backward-text-line, electric-nroff-newline) (electric-nroff-mode): * lisp/vc/log-edit.el (vc-comment-ring, vc-comment-ring-index) (vc-previous-comment, vc-next-comment) (vc-comment-search-reverse, vc-comment-search-forward) (vc-comment-to-change-log): * lisp/vc/pcvs-info.el (cvs-display-full-path) (cvs-fileinfo->full-path): * lisp/vc/vc.el (vc-diff-switches-list): Remove items, obsolete since Emacs 22.1. * lisp/ibuffer.el (ibuffer-cached-elide-long-columns): Remove internal variable. (ibuffer-compile-make-eliding-form, ibuffer-check-formats): (ibuffer-mode): Remove support for ibuffer-elide-long-columns. * lisp/cedet/semantic/sb.el (semantic-sb-token-jump): Remove support for speedbar-line-path. * lisp/emacs-lisp/unsafep.el (assoc-ignore-case): Stop marking as side-effect-free. * lisp/gnus/spam.el (spam-group-processor-p): Remove support for spam-list-of-processors. * lisp/progmodes/compile.el (define-compilation-mode) (compilation-handle-exit): Remove support for compilation-finish-function. * lisp/progmodes/cperl-mode.el (cperl-mode): Remove support for cperl-vc-header-alist. ; * lisp/files.el: Comments. ; * etc/NEWS: List removed items.
* | Quieten without-x, without-xml2 buildsGlenn Morris2018-02-261-0/+3
| | | | | | | | | | | | | | * lisp/help.el (x-display-pixel-height, x-display-pixel-width): * lisp/image.el (image-flush, image-size): * lisp/textmodes/sgml-mode.el (libxml-parse-html-region): Declare for compiler.
* | Describe 'view-lossage' changes in its docstring and NEWSRobert Pluim2018-02-241-0/+2
| | | | | | | | | | | | | | * lisp/help.el (view-lossage): Mention that this now uses the same format as `edit-last-kbd-macro'. (Bug#30560) * etc/NEWS: Improve the wording of the entry.
* | * lisp/help.el (view-lossage): Use the same format as in edit-last-kbd-macro.Juri Linkov2018-02-221-7/+7
| | | | | | | | | | Call comment-indent with let-bound comment-start and comment-column. (Bug#30560)
* | * lisp/help.el: Rework describe-key's handling of up and double clicksStefan Monnier2018-01-301-223/+162
|/ | | | | | | | | | | | | | | Use lexical-binding. (help--binding-undefined-p): New function, extracted from help--analyze-key. (help--analyze-key): Use it. (help--filter-info-list): New function. (describe-key-briefly): Change calling convention. Handle a list of key sequences now. (help--binding-locus): Remove unused var 'found'. (help--read-key-sequence): Rename from help-read-key-sequence. Almost complete rewrite, with a different return value. (help-downify-mouse-event-type): Remove. (describe-key): Change calling convention. Handle a list of key sequences now.
* Update copyright year to 2018Paul Eggert2018-01-011-1/+1
| | | | Run admin/update-copyright.
* * lisp/help.el (describe-key): Only (copy-sequence elt) when elt is a list.Alan Mackenzie2017-12-291-1/+1
|
* In C-h k <mouse-n>, alert user to existence of any matching down-mouse-eventAlan Mackenzie2017-12-241-1/+46
| | | | | | | | | | , and instruct her to hold the mouse button to display its documentation. * lisp/help.el (help-downify-mouse-event-type): New function. (help-read-key-sequence, describe-key): handle double-click-time being nil or t. (describe-key): Print out instructions for displaying documentation of matching mouse down key sequence command when such exists.
* Make C-h c/k S-mouse-1 display message for mouse-appearance-menu, etc.Alan Mackenzie2017-12-231-2/+21
| | | | | | | | | Currently, C-h c/k for S-mouse-1 reports that S-mouse-1 is unbound, ignoring that S-down-mouse-1 is bound. We fix this by reporting on the "latest" mouse event of a sequence which is bound. * lisp/help.el (help-read-key-sequence): Save all encountered mouse events in a list. Return the latest one which has a binding.
* Filter obtrusive events in help-read-key-sequence.Alan Mackenzie2017-11-181-5/+11
| | | | | | | | | | This fixes most of bug #29272. * lisp/help.el (help-read-key-sequence): After a mouse event, pause for 0.01s, discarding any events (such as <help-echo>) received in this time, before polling for the double-click (etc.) events which may follow. This fixes the infinite loop which occurred whwn <help-echo> events triggered a sit-for whilst handling menu events.
* Fix "C-h k" in xterm-mouse-modeOlaf Rogalsky2017-11-111-6/+10
| | | | | | * lisp/help.el (help-read-key-sequence): Support "C-h k" for xterm-mouse-mode by calling read-key-sequence-vector instead of read-event. (Bug#29150)
* Prefer HTTPS to FTP and HTTP in documentationPaul Eggert2017-09-131-3/+3
| | | | | | | | | | | | | 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.
* * lisp/emacs-lisp/bytecomp.el: Fix bug#14860.Stefan Monnier2017-07-141-0/+3
| | | | | | | | | | | | | | | | * 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.
* Ignore mouse-movement for describe-key-briefly (Bug#12204)Noam Postavsky2017-07-011-6/+12
| | | | | | | | * lisp/help.el (help-read-key-sequence): Add optional argument ot ignore `mouse-movement' events. (describe-key-briefly): Use it. * doc/emacs/help.texi (Key Help): * etc/NEWS: Mention that mouse movement is ignored.
* Refactor key describing commandsNoam Postavsky2017-07-011-148/+103
| | | | | | * lisp/help.el (help-read-key-sequence, help--analyze-key): New functions, extracted from `describe-key' and `describe-key-briefly'. (describe-key, describe-key-briefly): Use them.
* Reimplement module functionsPhilipp Stephani2017-05-201-13/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of a lambda, create a new type containing all data required to call the function, and support it in the evaluator. Because this type now also needs to store the function documentation, it is too big for Lisp_Misc; use a pseudovector instead. That also has the nice benefit that we don't have to add special support to the garbage collector. Since the new type is user-visible, give it a predicate. Now we can easily support 'help-function-args' and 'func-arity'; add unit tests for these. * src/lisp.h (allocate_module_function, MODULE_FUNCTIONP) (XMODULE_FUNCTION): New pseudovector type 'module function'. * src/eval.c (FUNCTIONP): Also treat module functions as functions. (funcall_lambda, Ffuncall, eval_sub): Add support for calling module functions. (Ffunc_arity): Add support for detecting the arity of module functions. * src/emacs-module.c (module_make_function): Adapt to new structure. Return module function object directly instead of wrapping it in a lambda; remove FIXME. (funcall_module): New function to call module functions. Replaces `internal--module-call' and is called directly from eval.c. (syms_of_module): Remove internal helper function, which is no longer needed. (module_function_arity): New helper function. * src/data.c (Ftype_of): Adapt to new implementation. (Fmodule_function_p, syms_of_data): New user-visible function. Now that module functions are first-class objects, they deserve a predicate. Define it even if not compiled with --enable-modules so that Lisp code doesn't have to check for the function's existence. * src/doc.c (Fdocumentation): Support module functions. * src/print.c (print_object): Adapt to new implementation. * src/alloc.c (mark_object): Specialized garbage collector support is no longer needed. * lisp/help.el (help-function-arglist): Support module functions. While there, simplify the arity calculation by using `func-arity', which does the right thing for all kinds of functions. * test/data/emacs-module/mod-test.c: Amend docstring so we can test the argument list. * test/src/emacs-module-tests.el (mod-test-sum-docstring): Adapt to new docstring. (mod-test-non-local-exit-signal-test): Because `internal--module-call' is gone, the backtrace has changed and no longer leaks the implementation. (module--func-arity): New test for `func-arity'. (module--help-function-arglist): New test for `help-function-arglist'.
* Fix typo in docstringWilfred Hughes2017-04-021-1/+1
| | | | * lisp/help.el: Fix typo.
* Merge from origin/emacs-25Paul Eggert2017-01-011-1/+1
|\ | | | | | | | | 2e2a806 Fix copyright years by hand 5badc81 Update copyright year to 2017
| * Update copyright year to 2017Paul Eggert2016-12-311-1/+1
| | | | | | | | Run admin/update-copyright.
* | Merge from origin/emacs-25Paul Eggert2016-05-131-2/+3
|\| | | | | | | | | | | | | | | | | | | 9c2a1a2 * doc/misc/texinfo.tex: Sync from gnulib. 66cd4d8 * lisp/emacs-lisp/find-func.el (find-feature-regexp) (find-al... 1a5a05c Do not mistake colon at the end of regexp for slash symbol 4c5a00b Make package-install-from-buffer not move point 9596ea1 ; Revert "* emacs-lisp/lisp-mnt.el (lm-header): save-excursion" f79c352 Redo the fix for bug#21839 8d2f78c Don't treat JS spread as contination method call
| * Redo the fix for bug#21839Dmitry Gutov2016-05-121-2/+3
| | | | | | | | | | | | | | | | * lisp/help.el (help-add-fundoc-usage): Undo the previous change. (help--make-usage-docstring): Escape newlines when printing. * lisp/emacs-lisp/cl-macs.el (cl--transform-lambda): Ditto (bug#21839).
* | Merge from origin/emacs-25Paul Eggert2016-05-101-1/+1
|\| | | | | | | | | | | | | d0d9f55 Allow newlines inside cl function arglists 963541a Publicize cl--generic-all-functions 3c581d5 ; Fix typo e58f900 Add some "safe-local-variable" declarations for compatibility...
| * Allow newlines inside cl function arglistsDmitry Gutov2016-05-101-1/+1
| | | | | | | | | | * lisp/help.el (help-add-fundoc-usage): Allow newlines inside ARGLIST (bug#21839).
* | Make the minor modes in help buffers into buttonsLars Ingebrigtsen2016-04-271-3/+4
| | | | | | | | | | * lisp/help.el (describe-mode): Make the minor modes into buttons to enable easier documentation traversal (bug#1149).
* | Make the describe-key prompts clearerLars Ingebrigtsen2016-03-041-2/+2
| | | | | | | | | | | | * lisp/help.el (describe-key-briefly): Make the prompt clearer (bug#14854). (describe-key): Ditto.
* | Await the final mouse event in C-h c and C-h k.Alan Mackenzie2016-02-191-2/+18
|/ | | | | | * lisp/help.el (describe-key-briefly, describe-key): On receiving a mouse event, keep reading further events until a timeout occurs, to ensure we have the complete mouse event from the user.
* Update copyright year to 2016Paul Eggert2016-01-011-1/+1
| | | | Run admin/update-copyright.
* Don't have help functions call x-display-pixel-width/-height on ttysMartin Rudalics2015-12-181-2/+2
| | | | | * lisp/help.el (temp-buffer-max-height, temp-buffer-max-width): Don't call x-display-pixel-width/-height on ttys.
* * lisp/help.el: Fix bug with incorrect arglist stringStefan Monnier2015-10-271-3/+4
| | | | (help-add-fundoc-usage): Don't mistake a mis-formatted string for a list.