diff options
Diffstat (limited to 'lisp/ldefs-boot.el')
-rw-r--r-- | lisp/ldefs-boot.el | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/lisp/ldefs-boot.el b/lisp/ldefs-boot.el index afe1e762a10..c571ca91773 100644 --- a/lisp/ldefs-boot.el +++ b/lisp/ldefs-boot.el @@ -147,7 +147,7 @@ Find a change log file for \\[add-change-log-entry] and return the name. Optional arg FILE-NAME specifies the file to use. If FILE-NAME is nil, use the value of `change-log-default-name'. -If `change-log-default-name' is nil, behave as though it were 'ChangeLog' +If `change-log-default-name' is nil, behave as though it were \"ChangeLog\" \(or whatever we use on this operating system). If `change-log-default-name' contains a leading directory component, then @@ -1679,7 +1679,7 @@ without being changed in the part that is already in the buffer. Turn on Auto-Revert Mode. This function is designed to be added to hooks, for example: - (add-hook 'c-mode-hook #'turn-on-auto-revert-mode) + (add-hook \\='c-mode-hook #\\='turn-on-auto-revert-mode) \(fn)" nil nil) @@ -1707,7 +1707,7 @@ Use `auto-revert-mode' for changes other than appends! Turn on Auto-Revert Tail mode. This function is designed to be added to hooks, for example: - (add-hook 'my-logfile-mode-hook #'turn-on-auto-revert-tail-mode) + (add-hook \\='my-logfile-mode-hook #\\='turn-on-auto-revert-tail-mode) \(fn)" nil nil) @@ -4451,11 +4451,11 @@ Last shell command used to do a compilation; default for next compilation. Sometimes it is useful for files to supply local values for this variable. You might also use mode hooks to specify it in certain modes, like this: - (add-hook 'c-mode-hook + (add-hook \\='c-mode-hook (lambda () (unless (or (file-exists-p \"makefile\") (file-exists-p \"Makefile\")) - (set (make-local-variable 'compile-command) + (set (make-local-variable \\='compile-command) (concat \"make -k \" (if buffer-file-name (shell-quote-argument @@ -11132,7 +11132,7 @@ invoking `ispell-change-dictionary'. Consider using the `ispell-parser' to check your text. For instance consider adding: -\(add-hook 'tex-mode-hook (function (lambda () (setq ispell-parser 'tex)))) +\(add-hook \\='tex-mode-hook (function (lambda () (setq ispell-parser \\='tex)))) in your init file. \\[flyspell-region] checks all words inside a region. @@ -13997,7 +13997,7 @@ You can automatically rotate colors when the buffer is saved by adding this function to `write-file-functions' as a buffer-local value. To do this, eval the following in the buffer to be saved: - (add-hook 'write-file-functions 'highlight-changes-rotate-faces nil t) + (add-hook \\='write-file-functions \\='highlight-changes-rotate-faces nil t) \(fn)" t nil) @@ -16423,14 +16423,14 @@ The `X' command aborts sending the message so that you can edit the buffer. To spell-check whenever a message is sent, include the appropriate lines in your init file: - (add-hook 'message-send-hook 'ispell-message) ;; GNUS 5 - (add-hook 'news-inews-hook 'ispell-message) ;; GNUS 4 - (add-hook 'mail-send-hook 'ispell-message) - (add-hook 'mh-before-send-letter-hook 'ispell-message) + (add-hook \\='message-send-hook \\='ispell-message) ;; GNUS 5 + (add-hook \\='news-inews-hook \\='ispell-message) ;; GNUS 4 + (add-hook \\='mail-send-hook \\='ispell-message) + (add-hook \\='mh-before-send-letter-hook \\='ispell-message) You can bind this to the key C-c i in GNUS or mail by adding to `news-reply-mode-hook' or `mail-mode-hook' the following lambda expression: - (function (lambda () (local-set-key \"\\C-ci\" 'ispell-message))) + (function (lambda () (local-set-key \"\\C-ci\" \\='ispell-message))) \(fn)" t nil) |