I want to be able to use typopunct minor mode globally.
I have tried to add (global-typopunct-mode 1)
to my init file, like so
;; Typopunct mode
(require 'typopunct)
(typopunct-change-language 'english t)
(global-typopunct-mode 1)
but I get this error: Symbol's function definition is void: global-typopunct-mode. Then I thought that the problem could be something similar to this post, but I have package-initalize on my init.el file (as shown below)
;; MELPA controls
(when (>= emacs-major-version 24)
(require 'package)
(setq package-enable-at-startup nil)
;; (add-to-list 'package-archives '("org" . "http://orgmode.org/elpa/"))
(add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/")) ;; install it manually
;;(add-to-list 'package-archives '("ox-odt" . "https://kjambunathan.github.io/elpa/"))
(package-initialize))
which makes me believe that typopunct was not meant to be activated globally... Thanks in advance for any help.
define-globalized-minor-mode
anddefine-global-minor-mode
.