• Michal Nazarewicz's avatar
    eldoc: modify `eldoc-documentation-function' using `add-function' · fd020a29
    Michal Nazarewicz authored
    * lisp/emacs-lisp/eldoc.el (eldoc-documentation-function): Describe how
    major modes should use `add-function' to alter value of the variable.
    
    * lisp/hexl.el (hexl-mode): Set `eldoc-documentation-function' using
    `add-function' so the default value is always used.
    * lisp/ielm.el (inferior-emacs-lisp-mode): Set
    `eldoc-documentation-function' using `add-function' so the default
    value is always used.
    * lisp/progmodes/cfengine.el (cfengine3-mode): Set
    `eldoc-documentation-function' using `add-function' so the default
    value is always used.
    * lisp/progmodes/elisp-mode (emacs-lisp-mode): Set
    `eldoc-documentation-function' using `add-function' so the default
    value is always used.
    * lisp/progmodes/octave.el (octave-mode): Set
    `eldoc-documentation-function' using `add-function' so the default
    value is always used.
    * lisp/progmodes/python.el (python-mode): Set
    `eldoc-documentation-function' using `add-function' so the default
    value is always used.
    * lisp/simple.el (read--expression): Set `eldoc-documentation-function'
    using `add-function' so the default value is always used.
    fd020a29
elisp-mode.el 57.2 KB