diff options
-rw-r--r-- | doc/kdvi/index.docbook | 8 | ||||
-rw-r--r-- | kpovmodeler/StyleConvention | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/doc/kdvi/index.docbook b/doc/kdvi/index.docbook index d9f59a94..0c8e1ce5 100644 --- a/doc/kdvi/index.docbook +++ b/doc/kdvi/index.docbook @@ -508,7 +508,7 @@ Works only for visiting one buffer at a time." (this-buf-modified-p nil)) ;;; the following is copied from server-visit-files, with ;;; a modification for the `verify-visited-file-modtime' test - (if (and buf (set -buffer buf)) + (if (and buf (set-buffer buf)) (if (file-exists-p filen) ;;; if the file has changed on disk, reload it ;;; using `find-file-noselect' @@ -524,10 +524,10 @@ Works only for visiting one buffer at a time." t) (set buf (find-file-noselect filen))) (set this-buf-modified-p (buffer-modified-p buf)) - (set -buffer buf) - (set -buffer-modified-p nil) + (set-buffer buf) + (set-buffer-modified-p nil) ad-do-it - (set -buffer-modified-p this-buf-modified-p))) + (set-buffer-modified-p this-buf-modified-p))) </programlisting> </listitem> </itemizedlist> diff --git a/kpovmodeler/StyleConvention b/kpovmodeler/StyleConvention index 5bac6387..8c68d5fe 100644 --- a/kpovmodeler/StyleConvention +++ b/kpovmodeler/StyleConvention @@ -208,7 +208,7 @@ things are set multiple times. But it works :-) '(("\\<\\(Q_SLOTS\\|Q_SIGNALS\\)\\>" . font-lock-type-face))) ;; make new font for rest of qt keywords (make-face 'qt-keywords-face) - (set -face-foreground 'qt-keywords-face "green") + (set-face-foreground 'qt-keywords-face "green") ;; qt keywords (font-lock-add-keywords 'c++-mode '(("\\<Q_OBJECT\\>" . 'qt-keywords-face))) |