New answers tagged

0

Use (setq-local mode-line-position nil) in the mode-hook. Example: (define-derived-mode my-mode nil "my") ;; Our playground. (defun remove-mode-line-position () ;; That's the thing you actually need. "Set `mode-line-position' buffer-locally to nil." (setq-local mode-line-position nil)) (add-hook 'my-mode-hook #'remove-mode-line-position) ;; Usage ...


Top 50 recent answers are included