aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love2001-02-06 17:25:36 +0000
committerDave Love2001-02-06 17:25:36 +0000
commitcea3855adc9bd3f19645ae48002f939fe953eed1 (patch)
tree3436512e50d831d0b3867d74ac995e6864ad2430
parentfecd556a3bdce361a5bdf2374490ffad18bf829e (diff)
downloademacs-cea3855adc9bd3f19645ae48002f939fe953eed1.tar.gz
emacs-cea3855adc9bd3f19645ae48002f939fe953eed1.zip
(add-log-current-defun-function)
(add-log-buffer-file-name-function, add-log-file-name-function): Fix :type. (change-log-mode) <font-lock-defaults>: Set SYNTAX-BEGIN.
-rw-r--r--lisp/add-log.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/add-log.el b/lisp/add-log.el
index 3ba7c75738e..ce8130c4a43 100644
--- a/lisp/add-log.el
+++ b/lisp/add-log.el
@@ -53,7 +53,7 @@
53 "*If non-nil, function to guess name of surrounding function. 53 "*If non-nil, function to guess name of surrounding function.
54It is used by `add-log-current-defun' in preference to built-in rules. 54It is used by `add-log-current-defun' in preference to built-in rules.
55Returns function's name as a string, or nil if outside a function." 55Returns function's name as a string, or nil if outside a function."
56 :type 'function 56 :type '(choice (const nil) function)
57 :group 'change-log) 57 :group 'change-log)
58 58
59;;;###autoload 59;;;###autoload
@@ -120,7 +120,7 @@ this variable."
120 "*If non-nil, function to call to identify the full filename of a buffer. 120 "*If non-nil, function to call to identify the full filename of a buffer.
121This function is called with no argument. If this is nil, the default is to 121This function is called with no argument. If this is nil, the default is to
122use `buffer-file-name'." 122use `buffer-file-name'."
123 :type 'function 123 :type '(choice (const nil) function)
124 :group 'change-log) 124 :group 'change-log)
125 125
126(defcustom add-log-file-name-function nil 126(defcustom add-log-file-name-function nil
@@ -128,7 +128,7 @@ use `buffer-file-name'."
128This function is called with one argument, the value of variable 128This function is called with one argument, the value of variable
129`buffer-file-name' in that buffer. If this is nil, the default is to 129`buffer-file-name' in that buffer. If this is nil, the default is to
130use the file's name relative to the directory of the change log file." 130use the file's name relative to the directory of the change log file."
131 :type 'function 131 :type '(choice (const nil) function)
132 :group 'change-log) 132 :group 'change-log)
133 133
134 134
@@ -580,7 +580,7 @@ Runs `change-log-mode-hook'."
580 (set (make-local-variable 'version-control) 'never) 580 (set (make-local-variable 'version-control) 'never)
581 (set (make-local-variable 'adaptive-fill-regexp) "\\s *") 581 (set (make-local-variable 'adaptive-fill-regexp) "\\s *")
582 (set (make-local-variable 'font-lock-defaults) 582 (set (make-local-variable 'font-lock-defaults)
583 '(change-log-font-lock-keywords t)) 583 '(change-log-font-lock-keywords t nil nil backward-paragraph))
584 (run-hooks 'change-log-mode-hook)) 584 (run-hooks 'change-log-mode-hook))
585 585
586;; It might be nice to have a general feature to replace this. The idea I 586;; It might be nice to have a general feature to replace this. The idea I