all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to always start emacs with Relative Line Numbers turned on by default
@ 2018-08-23 16:39 J191
  2018-08-23 17:22 ` Eric S Fraga
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: J191 @ 2018-08-23 16:39 UTC (permalink / raw)
  To: help-gnu-emacs



In Emacs 26.x, How do I get Emacs to start with Relative Line Numbers turned on by default ?

I tried to use C-x h, then clicked the menu item and the help showed the following

<menu-bar> <options> <showhide> <display-line-numbers> <relative> 
runs the command #[nil "\300\301!\210\302\303!\207"
[menu-bar-display-line-numbers-mode relative message "Relative line
numbers enabled"] 2 nil nil] (found in global-map), which is an
interactive compiled Lisp function.

So tried adding the command into init.el as

(menu-bar-display-line-numbers-mode relative message "Relative line
numbers enabled")

How do I make this work ?


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-08-23 18:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-23 16:39 How to always start emacs with Relative Line Numbers turned on by default J191
2018-08-23 17:22 ` Eric S Fraga
2018-08-23 17:33 ` Eli Zaretskii
     [not found] ` <mailman.5463.1535045645.1292.help-gnu-emacs@gnu.org>
2018-08-23 18:22   ` J191

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.