aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/add-log.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/add-log.el b/lisp/add-log.el
index 9c1be0e4536..a90237f96ce 100644
--- a/lisp/add-log.el
+++ b/lisp/add-log.el
@@ -243,8 +243,8 @@ Runs `change-log-mode-hook'."
243(defun add-log-current-defun () 243(defun add-log-current-defun ()
244 "Return name of function definition point is in, or nil. 244 "Return name of function definition point is in, or nil.
245 245
246Understands Lisp, LaTeX (\"functions\" are chapters, sections, ...), 246Understands C, Lisp, LaTeX (\"functions\" are chapters, sections, ...),
247Texinfo (@node titles), and C. 247Texinfo (@node titles), and Fortran.
248 248
249Other modes are handled by a heuristic that looks in the 10K before 249Other modes are handled by a heuristic that looks in the 10K before
250point for uppercase headings starting in the first column or 250point for uppercase headings starting in the first column or
@@ -381,7 +381,7 @@ Has a preference of looking backwards."
381 (if (re-search-forward 381 (if (re-search-forward
382 "^[ \t]*\\(program\\|subroutine\\|function\ 382 "^[ \t]*\\(program\\|subroutine\\|function\
383\\|[ \ta-z0-9*]*[ \t]+function\\)" 383\\|[ \ta-z0-9*]*[ \t]+function\\)"
384 string nil t) 384 nil t)
385 (progn 385 (progn
386 ;; move to EOL or before first left paren 386 ;; move to EOL or before first left paren
387 (if (re-search-forward "[(\n]" nil t) 387 (if (re-search-forward "[(\n]" nil t)