Commit c3536086 authored by Juanma Barranquero's avatar Juanma Barranquero
Browse files

(define-minor-mode, easy-mmode-define-navigation): Fix typos in docstrings.

parent f7fa4950
...@@ -103,7 +103,7 @@ used (see below). ...@@ -103,7 +103,7 @@ used (see below).
BODY contains code to execute each time the mode is activated or deactivated. BODY contains code to execute each time the mode is activated or deactivated.
It is executed after toggling the mode, It is executed after toggling the mode,
and before running the hook variable `mode-HOOK'. and before running the hook variable `MODE-hook'.
Before the actual body code, you can write keyword arguments (alternating Before the actual body code, you can write keyword arguments (alternating
keywords and values). These following keyword arguments are supported (other keywords and values). These following keyword arguments are supported (other
keywords will be passed to `defcustom' if the minor mode is global): keywords will be passed to `defcustom' if the minor mode is global):
...@@ -486,7 +486,7 @@ BASE-next also tries to make sure that the whole entry is visible by ...@@ -486,7 +486,7 @@ BASE-next also tries to make sure that the whole entry is visible by
the next entry) and recentering if necessary. the next entry) and recentering if necessary.
ENDFUN should return the end position (with or without moving point). ENDFUN should return the end position (with or without moving point).
NARROWFUN non-nil means to check for narrowing before moving, and if NARROWFUN non-nil means to check for narrowing before moving, and if
found, do widen first and then call NARROWFUN with no args after moving." found, do `widen' first and then call NARROWFUN with no args after moving."
(let* ((base-name (symbol-name base)) (let* ((base-name (symbol-name base))
(prev-sym (intern (concat base-name "-prev"))) (prev-sym (intern (concat base-name "-prev")))
(next-sym (intern (concat base-name "-next"))) (next-sym (intern (concat base-name "-next")))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment