summaryrefslogtreecommitdiff
path: root/lisp/display-line-numbers.el
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year to 2019Paul Eggert2019-01-011-1/+1
| | | | Run 'TZ=UTC0 admin/update-copyright $(git ls-files)'.
* Update copyright year to 2018Paul Eggert2018-01-011-1/+1
| | | | Run admin/update-copyright.
* Add line-number faces to the display-line-numbers groupAlexander Gramiak2017-10-081-0/+1
| | | | | | | | | | See https://lists.gnu.org/archive/html/emacs-devel/2017-10/msg00151.html and its resulting thread. * lisp/display-line-numbers.el (display-line-numbers): Add to the convenience group. * lisp/faces.el (line-number): (line-number-current-line): Add to the display-line-numbers group.
* 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.
* Follow SAUNA recommendations for display-line-numbers-typeMichael Albinus2017-08-011-1/+0
| | | | | | * lisp/display-line-numbers.el (display-line-numbers-type): Do not autoload. * lisp/menu-bar.el (display-line-numbers-type): Declare.
* ; Fix previous commitMark Oteiza2017-07-241-3/+2
| | | | | | | Functions prefixed with `turn-on-foo' are quite old, and in general subsumed by the corresponding `foo-mode` command. * lisp/display-line-numbers.el (turn-on-display-line-numbers-mode): Rename with library prefix, mark as internal. Nix autoload.
* Use a named function for global minor mode turn-on argumentMark Oteiza2017-07-231-6/+9
| | | | | | * lisp/display-line-numbers.el (turn-on-display-line-numbers-mode): New function. (global-display-line-numbers-mode): Use it.
* * lisp/display-line-numbers.el (display-line-numbers-type): Autoload it.Michael Albinus2017-07-231-0/+1
|
* Add a minor mode interface for display-line-numbersAlexander Gramiak2017-07-221-0/+103
* lisp/cus-start.el: Use the new display-line-numbers group. * lisp/display-line-numbers.el: New file. * doc/emacs/custom.texi (Init Rebinding): Re-add entry that used to belong to linum-mode. * doc/emacs/modes.texi (Minor Modes): Summarize the mode. * etc/NEWS: Document display-line-numbers-mode and its customization variables, and mention that display-line-numbers-width is buffer-local. * src/xdisp.c (syms_of_xdisp) <display-line-numbers-width>: Fix a typo.